nativeErrorCode property

int? nativeErrorCode
final

The raw platform value behind errorCode: CBError.Code on Apple, the GATT status of onConnectionStateChange on Android. The numeric ranges overlap across platforms (6 is connectionTimeout on Apple and an HCI reason on Android), so branch on errorCode and keep this for diagnostics. null where errorCode is null.

Implementation

final int? nativeErrorCode;