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