map<TResult extends Object?> method Null safety

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

Implementation

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