TestPlatformVariant.all constructor

TestPlatformVariant.all({
  1. required String description,
})

Creates a TestPlatformVariant bundled with all mainstream operating systems.

Includes: Android, iOS, Linux, macOS, and Windows.

Implementation

factory TestPlatformVariant.all({required String description}) {
  return TestPlatformVariant._internal(
    values: {
      TargetPlatform.android,
      TargetPlatform.iOS,
      TargetPlatform.linux,
      TargetPlatform.macOS,
      TargetPlatform.windows,
    },
    description: description,
  );
}