toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (customDataSourceId != null)
        'customDataSourceId': customDataSourceId!,
      if (errors != null) 'errors': errors!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (status != null) 'status': status!,
      if (uploadTime != null)
        'uploadTime': uploadTime!.toUtc().toIso8601String(),
    };