DatabaseDump.fromJson constructor

DatabaseDump.fromJson(
  1. Map _json
)

Implementation

DatabaseDump.fromJson(core.Map _json)
    : this(
        databaseType: _json.containsKey('databaseType')
            ? _json['databaseType'] as core.String
            : null,
        gcsUri: _json.containsKey('gcsUri')
            ? _json['gcsUri'] as core.String
            : null,
        sourceDatabase: _json.containsKey('sourceDatabase')
            ? _json['sourceDatabase'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );