MembershipRole.fromJson constructor

MembershipRole.fromJson(
  1. Map json_
)

Implementation

MembershipRole.fromJson(core.Map json_)
    : this(
        expiryDetail: json_.containsKey('expiryDetail')
            ? ExpiryDetail.fromJson(
                json_['expiryDetail'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        restrictionEvaluations: json_.containsKey('restrictionEvaluations')
            ? RestrictionEvaluations.fromJson(json_['restrictionEvaluations']
                as core.Map<core.String, core.dynamic>)
            : null,
      );