backgroundColor property Null safety
@JsonKey(includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson), read / write
背景色,格式为 RGB 定义下的 Hex 值,不要带 # 号,如 0xFFB6C1 表示浅粉色。默认0x000000,黑色。// RN 优化 详见 Color。
Implementation
@JsonKey(
includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson)
Color? backgroundColor;