FetchDatabasePropertiesResponse.fromJson constructor

FetchDatabasePropertiesResponse.fromJson(
  1. Map json_
)

Implementation

FetchDatabasePropertiesResponse.fromJson(core.Map json_)
    : this(
        isFailoverReplicaAvailable:
            json_.containsKey('isFailoverReplicaAvailable')
                ? json_['isFailoverReplicaAvailable'] as core.bool
                : null,
        primaryGceZone: json_.containsKey('primaryGceZone')
            ? json_['primaryGceZone'] as core.String
            : null,
        secondaryGceZone: json_.containsKey('secondaryGceZone')
            ? json_['secondaryGceZone'] as core.String
            : null,
      );