decode static method

GattService decode(
  1. Object result
)

Implementation

static GattService decode(Object result) {
  result as List<Object?>;
  return GattService(
    uuid: result[0]! as String,
    isPrimary: result[1]! as bool,
    characteristics: (result[2] as List<Object?>?)!.cast<GattCharacteristic?>(),
  );
}