Platform class abstract

Implementers

Constructors

Platform({required bool isMobile, bool isOnline = true})
Platform.android({required String packageId, required String sha1Cert, required bool isOnline})
factory
Platform.fromJson(Map<String, dynamic> json)
factory
Platform.ios({required String appId, required bool isOnline})
factory
Platform.linux({required bool isOnline})
factory
Platform.macos({required String appId, required bool isOnline})
factory
Platform.web({required String currentUrl, required bool isMobile, required bool isOnline})
factory
Platform.windows({required bool isOnline})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isMobile bool
final
isOnline bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

current Platform
no setter