@override Color? fromJson(value) { try { if (value is String) { return HexColor.fromHex(value, null); } return null; } catch (e) { return null; } }