maybeMap<TResult extends Object?> method Null safety

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

    Implementation

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