TencentLocationError.fromMap constructor
- Map map
Implementation
factory TencentLocationError.fromMap(Map map) {
return TencentLocationError(
code: TencentLocationErrorCodeCodec.fromWire(map['code'] as String?),
message: (map['message'] as String?) ?? '',
nativeCode: map['nativeCode'] as int?,
nativeMessage: map['nativeMessage'] as String?,
details: map['details'],
);
}