toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (rgbColor != null) 'rgbColor': rgbColor!,
      if (themeColor != null) 'themeColor': themeColor!,
    };