toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acquirePermission != null) 'acquirePermission': acquirePermission!,
      if (ageGroup != null) 'ageGroup': ageGroup!,
      if (allowedMaturityRating != null)
        'allowedMaturityRating': allowedMaturityRating!,
      if (isInFamily != null) 'isInFamily': isInFamily!,
      if (role != null) 'role': role!,
    };