fromValue static method

Radius fromValue(
  1. dynamic fieldValue
)

Implementation

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