toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bigqueryDataset != null) 'bigqueryDataset': bigqueryDataset!,
      if (categories != null) 'categories': categories!,
      if (dataProvider != null) 'dataProvider': dataProvider!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (documentation != null) 'documentation': documentation!,
      if (icon != null) 'icon': icon!,
      if (name != null) 'name': name!,
      if (primaryContact != null) 'primaryContact': primaryContact!,
      if (publisher != null) 'publisher': publisher!,
      if (requestAccess != null) 'requestAccess': requestAccess!,
      if (restrictedExportConfig != null)
        'restrictedExportConfig': restrictedExportConfig!,
      if (state != null) 'state': state!,
    };