mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. TResult? $default(
    1. _ColorScheme value
    )?,
  2. {TResult? fromSeed(
    1. ColorSchemeFromSeed value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  TResult? Function(_ColorScheme value)? $default, {
  TResult? Function(ColorSchemeFromSeed value)? fromSeed,
}) =>
    throw _privateConstructorUsedError;