fromValue static method
Implementation
static Radius fromValue(dynamic fieldValue) {
if (fieldValue is num) {
return Radius.circular(fieldValue.toDouble());
}
throw DogSerializerException(message: "Invalid radius value");
}
static Radius fromValue(dynamic fieldValue) {
if (fieldValue is num) {
return Radius.circular(fieldValue.toDouble());
}
throw DogSerializerException(message: "Invalid radius value");
}