IdentityServiceMembershipState.fromJson constructor

IdentityServiceMembershipState.fromJson(
  1. Map json_
)

Implementation

IdentityServiceMembershipState.fromJson(core.Map json_)
    : this(
        failureReason: json_.containsKey('failureReason')
            ? json_['failureReason'] as core.String
            : null,
        installedVersion: json_.containsKey('installedVersion')
            ? json_['installedVersion'] as core.String
            : null,
        memberConfig: json_.containsKey('memberConfig')
            ? IdentityServiceMembershipSpec.fromJson(
                json_['memberConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );