toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowCreation != null) 'allowCreation': allowCreation!,
      if (availableLocations != null)
        'availableLocations': availableLocations!,
      if (category != null) 'category': category!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (name != null) 'name': name!,
      if (sampleDocumentUris != null)
        'sampleDocumentUris': sampleDocumentUris!,
      if (type != null) 'type': type!,
    };