FamilyInfoMembership.fromJson constructor

FamilyInfoMembership.fromJson(
  1. Map json_
)

Implementation

FamilyInfoMembership.fromJson(core.Map json_)
    : this(
        acquirePermission: json_.containsKey('acquirePermission')
            ? json_['acquirePermission'] as core.String
            : null,
        ageGroup: json_.containsKey('ageGroup')
            ? json_['ageGroup'] as core.String
            : null,
        allowedMaturityRating: json_.containsKey('allowedMaturityRating')
            ? json_['allowedMaturityRating'] as core.String
            : null,
        isInFamily: json_.containsKey('isInFamily')
            ? json_['isInFamily'] as core.bool
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
      );