toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessibleLevels != null) 'accessibleLevels': accessibleLevels!,
      if (highestAccessibleLevel != null)
        'highestAccessibleLevel': highestAccessibleLevel!,
      if (highestAccessibleLevelDisplayName != null)
        'highestAccessibleLevelDisplayName':
            highestAccessibleLevelDisplayName!,
      if (membershipsDuration != null)
        'membershipsDuration': membershipsDuration!,
      if (membershipsDurationAtLevels != null)
        'membershipsDurationAtLevels': membershipsDurationAtLevels!,
    };