mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? ether(
    1. _UnitEther value
    )?,
  2. TResult? gwei(
    1. _UnitGwei value
    )?,
  3. TResult? wei(
    1. _UnitWei value
    )?,
  4. TResult? id(
    1. _UnitId value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(_UnitEther value)? ether,
  TResult? Function(_UnitGwei value)? gwei,
  TResult? Function(_UnitWei value)? wei,
  TResult? Function(_UnitId value)? id,
}) =>
    throw _privateConstructorUsedError;