TencentLocationError.fromMap constructor

TencentLocationError.fromMap(
  1. 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'],
  );
}