toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "colors": colors.toJson(),
      "fonts": fonts.toJson(),
      "images": images.toJson(),
      "uiCustomizationLayer": uiCustomizationLayer
    }.clearNulls();