HMSError class Null safety

HMSError will contain the error and related description which you get when onError is called

Constructors

HMSError({String? id, HMSErrorCode? code, required String message, required String description, required String action, required Map? params})
HMSError.fromMap(Map map)
factory

Properties

action String
read / write
analyticsRepresentation Map
read-only
code HMSErrorCode?
final
description String
description is info in android
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
id is name in android
final
localizedDescription String
read-only
message String
final
params Map?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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