MembershipsDuration.fromJson constructor

MembershipsDuration.fromJson(
  1. Map json_
)

Implementation

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