convert<T> method

T? convert<T>(
  1. dynamic value
)

Implementation

T? convert<T>(dynamic value) {
  if (value == null) {
    return null;
  }
  return asT<T>(value);
}