EngineService class

Properties

defaultRegion String?
defaultRegion is the region of the Firebase Cloud Functions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

claimAdmin({String? region}) Future<String>
Claim a user as an admin.
deleteAccount({String? region}) Future
Delete the login user's account
init({String? region}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage({required List<String> tokens, required String title, required String body, required Map<String, dynamic> data, String? imageUrl}) Future<List<String>>
Send a message to the users
sendMessageToSubscription({required String subscription, required String title, required String body, required Map<String, dynamic> data, String? imageUrl}) Future<List<String>>
Send a message to the users
sendMessageToUid({required List<String> uids, required String title, required String body, required Map<String, dynamic> data, String? imageUrl}) Future<List<String>>
Send a message to the users
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance EngineService
no setter