from<T> method

T from<T>(
  1. String key, {
  2. T? defaultValue,
  3. SuperConverter<T>? converter,
})

Implementation

T from<T>(
  String key, {
  T? defaultValue,

  /// to use single time used converter
  SuperConverter<T>? converter,
}) {
  var data = extractValue(key);
  return SuperConverter.convert(
    data,
    defaultValue: defaultValue,
    converter: converter,
  );
}