FamilyInfo.fromJson constructor

FamilyInfo.fromJson(
  1. Map json_
)

Implementation

FamilyInfo.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        membership: json_.containsKey('membership')
            ? FamilyInfoMembership.fromJson(
                json_['membership'] as core.Map<core.String, core.dynamic>)
            : null,
      );