MembershipsDurationAtLevel.fromJson constructor

MembershipsDurationAtLevel.fromJson(
  1. Map json_
)

Implementation

MembershipsDurationAtLevel.fromJson(core.Map json_)
    : this(
        level:
            json_.containsKey('level') ? json_['level'] as core.String : null,
        memberSince: json_.containsKey('memberSince')
            ? json_['memberSince'] as core.String
            : null,
        memberTotalDurationMonths:
            json_.containsKey('memberTotalDurationMonths')
                ? json_['memberTotalDurationMonths'] as core.int
                : null,
      );