toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backgroundImageFile != null)
        'backgroundImageFile': backgroundImageFile!,
      if (backgroundImageLink != null)
        'backgroundImageLink': backgroundImageLink!,
      if (capabilities != null) 'capabilities': capabilities!,
      if (colorRgb != null) 'colorRgb': colorRgb!,
      if (createdTime != null)
        'createdTime': createdTime!.toUtc().toIso8601String(),
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (orgUnitId != null) 'orgUnitId': orgUnitId!,
      if (restrictions != null) 'restrictions': restrictions!,
      if (themeId != null) 'themeId': themeId!,
    };