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,
      );