TargetPlatformInfo constructor

const TargetPlatformInfo({
  1. required bool isAndroid,
  2. required bool isFuchsia,
  3. required bool isIOS,
  4. required bool isLinux,
  5. required bool isMacOS,
  6. required bool isWindows,
})

Creates a TargetPlatformInfo with the given flags.

Implementation

const TargetPlatformInfo({
  required this.isAndroid,
  required this.isFuchsia,
  required this.isIOS,
  required this.isLinux,
  required this.isMacOS,
  required this.isWindows,
});