Map<String, Object?> toJson() { var backgroundColor = this.backgroundColor; final json = <String, Object?>{}; json[r'backgroundColor'] = backgroundColor; return json; }