fromWire static method

TencentLocationErrorCode fromWire(
  1. String? wire
)

Implementation

static TencentLocationErrorCode fromWire(String? wire) {
  for (final value in TencentLocationErrorCode.values) {
    if (value.wireName == wire) return value;
  }
  return TencentLocationErrorCode.nativeError;
}