MetadataManagementActivity.fromJson constructor

MetadataManagementActivity.fromJson(
  1. Map _json
)

Implementation

MetadataManagementActivity.fromJson(core.Map _json)
    : this(
        metadataExports: _json.containsKey('metadataExports')
            ? (_json['metadataExports'] as core.List)
                .map<MetadataExport>((value) => MetadataExport.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        restores: _json.containsKey('restores')
            ? (_json['restores'] as core.List)
                .map<Restore>((value) => Restore.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );