toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => removeNulls({
      'primary_tint_color': primaryTintColor?.hex,
      'secondary_tint_color': secondaryTintColor?.hex,
    });