platformType method

PlatformType platformType()

Implementation

PlatformType platformType() {
  if (kIsWeb) {
    return PlatformType.web();
  }
  return PlatformType.app();
}