DevicePlatformSerialization extension
Extension providing static serialization methods for DevicePlatform.
Uses the pattern from enum_converters.dart for safe serialization that handles unknown values gracefully.
Static Methods
-
deserialize(
String? value) → DevicePlatform? -
Available on DevicePlatform, provided by the DevicePlatformSerialization extension
Deserializes a DevicePlatform from JSON, returning null for unknown values. -
serialize(
DevicePlatform? value) → String? -
Available on DevicePlatform, provided by the DevicePlatformSerialization extension
Serializes a DevicePlatform to JSON (lowercase string).