decode static method
Implementation
static ODIDPayload decode(Object result) {
result as List<Object?>;
return ODIDPayload(
rawData: result[0]! as Uint8List,
receivedTimestamp: result[1]! as int,
macAddress: result[2]! as String,
rssi: result[3] as int?,
source: MessageSource.values[result[4]! as int],
btName: result[5] as String?,
);
}