ConvertConfig constructor

const ConvertConfig({
  1. String? locale,
  2. NumberOptions numbers = const NumberOptions(),
  3. DateOptions dates = const DateOptions(),
  4. BoolOptions bools = const BoolOptions(),
  5. UriOptions uri = const UriOptions(),
  6. TypeRegistry registry = const TypeRegistry.empty(),
  7. ExceptionHook? onException,
})

Creates a new configuration bundle.

Implementation

const ConvertConfig({
  this.locale,
  this.numbers = const NumberOptions(),
  this.dates = const DateOptions(),
  this.bools = const BoolOptions(),
  this.uri = const UriOptions(),
  this.registry = const TypeRegistry.empty(),
  this.onException,
}) : _overrideMask = 0;