fromRawAttribute method

T fromRawAttribute(
  1. Object attr
)

Implementation

T fromRawAttribute(Object attr) {
  if (attr is T) return attr;
  if (transform != null) {
    return transform!.fromRawAttribute(provider, attr);
  }
  typeError(T, attr);
}