TestPlatformVariant.mobile constructor

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

Creates a TestPlatformVariant focused strictly on portable smartphone environments.

Includes: Android and iOS operating systems.

Implementation

factory TestPlatformVariant.mobile({required String description}) {
  return TestPlatformVariant._internal(
    values: {TargetPlatform.android, TargetPlatform.iOS},
    description: description,
  );
}