Platform class abstract
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
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