Map<String, dynamic> toJson() { final styleControl = this.styleControl; return { if (styleControl != null) 'styleControl': styleControl.toValue(), }; }