toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (jobSpec != null) 'jobSpec': jobSpec!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (webAccessUris != null) 'webAccessUris': webAccessUris!,
    };