deserialize method
Deserializes the given value from a DogNativeCodec native value.
Implementation
@override
Radius deserialize(value, DogEngine engine) {
if (value is num) {
return Radius.circular(value.toDouble());
}
throw DogSerializerException(message: "Invalid radius value", converter: this);
}