TencentLocationError class

腾讯定位 SDK Flutter 插件所有异步错误的统一封装。

Implemented types

Constructors

TencentLocationError({required TencentLocationErrorCode code, required String message, int? nativeCode, String? nativeMessage, Object? details})
const
TencentLocationError.fromMap(Map map)
factory

Properties

code TencentLocationErrorCode
插件层错误码。
final
details Object?
附加数据(例如围栏 ID、失败的 managerId 等)。
final
hashCode int
The hash code for this object.
no setterinherited
message String
错误消息(可读)。
final
nativeCode int?
原生 SDK 回传的原始错误码,可为空。
final
nativeMessage String?
原生 SDK 回传的原始错误消息,可为空。
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
toMap() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

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