mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult blank(
    1. AvataaarTypeAccessoriesBlank value
    )?,
  2. TResult kurt(
    1. AvataaarTypeAccessoriesKurt value
    )?,
  3. TResult prescription01(
    1. AvataaarTypeAccessoriesPrescription01 value
    )?,
  4. TResult prescription02(
    1. AvataaarTypeAccessoriesPrescription02 value
    )?,
  5. TResult round(
    1. AvataaarTypeAccessoriesRound value
    )?,
  6. TResult sunglasses(
    1. AvataaarTypeAccessoriesSunglasses value
    )?,
  7. TResult wayfarers(
    1. AvataaarTypeAccessoriesWayfarers value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult Function(AvataaarTypeAccessoriesBlank value)? blank,
  TResult Function(AvataaarTypeAccessoriesKurt value)? kurt,
  TResult Function(AvataaarTypeAccessoriesPrescription01 value)?
      prescription01,
  TResult Function(AvataaarTypeAccessoriesPrescription02 value)?
      prescription02,
  TResult Function(AvataaarTypeAccessoriesRound value)? round,
  TResult Function(AvataaarTypeAccessoriesSunglasses value)? sunglasses,
  TResult Function(AvataaarTypeAccessoriesWayfarers value)? wayfarers,
}) =>
    throw _privateConstructorUsedError;