GetInstanceHealthResponse.fromJson constructor

GetInstanceHealthResponse.fromJson(
  1. Map json_
)

Implementation

GetInstanceHealthResponse.fromJson(core.Map json_)
    : this(
        healthInfo: json_.containsKey('healthInfo')
            ? (json_['healthInfo'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        healthState: json_.containsKey('healthState')
            ? json_['healthState'] as core.String
            : null,
      );