instance property

Platform instance

Implementation

static Platform get instance {
  _instance ??= Platform._(
    supportedPlatforms: Platforms.values.toSet(),
  );
  return _instance!;
}