ServiceMeshMembershipState.fromJson constructor

ServiceMeshMembershipState.fromJson(
  1. Map json_
)

Implementation

ServiceMeshMembershipState.fromJson(core.Map json_)
    : this(
        conditions: json_.containsKey('conditions')
            ? (json_['conditions'] as core.List)
                .map((value) => ServiceMeshCondition.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        controlPlaneManagement: json_.containsKey('controlPlaneManagement')
            ? ServiceMeshControlPlaneManagement.fromJson(
                json_['controlPlaneManagement']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataPlaneManagement: json_.containsKey('dataPlaneManagement')
            ? ServiceMeshDataPlaneManagement.fromJson(
                json_['dataPlaneManagement']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );