toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (canAccessLabelManager != null)
        'canAccessLabelManager': canAccessLabelManager!,
      if (canAdministrateLabels != null)
        'canAdministrateLabels': canAdministrateLabels!,
      if (canCreateAdminLabels != null)
        'canCreateAdminLabels': canCreateAdminLabels!,
      if (canCreateSharedLabels != null)
        'canCreateSharedLabels': canCreateSharedLabels!,
      if (name != null) 'name': name!,
    };