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