maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult android(
    1. AndroidPlatform value
    )?,
  2. TResult ios(
    1. IosPlatform value
    )?,
  3. TResult macos(
    1. MacosPlatform value
    )?,
  4. TResult web(
    1. WebPlatform value
    )?,
  5. TResult linux(
    1. LinuxPlatform value
    )?,
  6. TResult windows(
    1. WindowsPlatform value
    )?,
  7. TResult fuchsia(
    1. FuchsiaPlatform value
    )?,
  8. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(AndroidPlatform value)? android,
  TResult Function(IosPlatform value)? ios,
  TResult Function(MacosPlatform value)? macos,
  TResult Function(WebPlatform value)? web,
  TResult Function(LinuxPlatform value)? linux,
  TResult Function(WindowsPlatform value)? windows,
  TResult Function(FuchsiaPlatform value)? fuchsia,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;