DatabaseInstance.fromJson constructor

DatabaseInstance.fromJson(
  1. Map _json
)

Implementation

DatabaseInstance.fromJson(core.Map _json)
    : this(
        databaseUrl: _json.containsKey('databaseUrl')
            ? _json['databaseUrl'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        project: _json.containsKey('project')
            ? _json['project'] as core.String
            : null,
        state:
            _json.containsKey('state') ? _json['state'] as core.String : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );