MetadataExport.fromJson constructor

MetadataExport.fromJson(
  1. Map json_
)

Implementation

MetadataExport.fromJson(core.Map json_)
    : this(
        databaseDumpType: json_.containsKey('databaseDumpType')
            ? json_['databaseDumpType'] as core.String
            : null,
        destinationGcsUri: json_.containsKey('destinationGcsUri')
            ? json_['destinationGcsUri'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );