toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (directUploadSource != null)
        'directUploadSource': directUploadSource!,
      if (displayName != null) 'displayName': displayName!,
      if (fileStatus != null) 'fileStatus': fileStatus!,
      if (gcsSource != null) 'gcsSource': gcsSource!,
      if (googleDriveSource != null) 'googleDriveSource': googleDriveSource!,
      if (jiraSource != null) 'jiraSource': jiraSource!,
      if (name != null) 'name': name!,
      if (sharePointSources != null) 'sharePointSources': sharePointSources!,
      if (slackSource != null) 'slackSource': slackSource!,
      if (updateTime != null) 'updateTime': updateTime!,
    };