@override Map<String, Object?> toJson() => { if (enabled != null) "enabled": encodeValue(enabled), };