map<TResult extends Object?> method

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

Implementation

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