parse<V> method

V? parse<V>(
  1. Object? value, [
  2. V? def
])

Parse value or return def.

See TypeParser.parserFor.

Implementation

V? parse<V>(Object? value, [V? def]) =>
    _typeWrapper.parse(value, def: def, typeInfo: this);