toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalContexts != null)
        'additionalContexts':
            additionalContexts!.map((value) => value.toJson()).toList(),
      if (artifactStorageSourceUri != null)
        'artifactStorageSourceUri': artifactStorageSourceUri!,
      if (context != null) 'context': context!.toJson(),
      if (fileHashes != null)
        'fileHashes':
            fileHashes!.map((key, item) => core.MapEntry(key, item.toJson())),
    };