parserFor<T> static method

TypeElementParser<T>? parserFor<T>({
  1. Object? obj,
  2. Type? type,
  3. TypeInfo? typeInfo,
})

Returns the parser for the desired type, defined by T, obj or type.

Implementation

static TypeElementParser<T>? parserFor<T>(
        {Object? obj, Type? type, TypeInfo? typeInfo}) =>
    _parserForImpl<T>(obj, type, typeInfo) as TypeElementParser<T>?;