toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final backgroundImageFile = this.backgroundImageFile;
  final backgroundImageLink = this.backgroundImageLink;
  final capabilities = this.capabilities;
  final colorRgb = this.colorRgb;
  final createdDate = this.createdDate;
  final hidden = this.hidden;
  final id = this.id;
  final kind = this.kind;
  final name = this.name;
  final orgUnitId = this.orgUnitId;
  final restrictions = this.restrictions;
  final themeId = this.themeId;
  return {
    'backgroundImageFile': ?backgroundImageFile,
    'backgroundImageLink': ?backgroundImageLink,
    'capabilities': ?capabilities,
    'colorRgb': ?colorRgb,
    'createdDate': ?createdDate?.toUtc().toIso8601String(),
    'hidden': ?hidden,
    'id': ?id,
    'kind': ?kind,
    'name': ?name,
    'orgUnitId': ?orgUnitId,
    'restrictions': ?restrictions,
    'themeId': ?themeId,
  };
}