PushFcm class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
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
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
disableLogger()
→ Future<void>
-
Disables the HMSLogger capability which is used for sending usage
analytics of DTM SDK's methods to improve the service quality.
-
enableLogger()
→ Future<void>
-
Enables the HMSLogger capability which is used for sending usage
analytics of DTM SDK's methods to improve the service quality.
-
init()
→ Future<bool>
-
Initializes the push capability of FCM.
-
setCountryCode(String countryCode)
→ Future<void>
-
Sets a country/region code. This method is available only for Huawei-developed apps.