flutter plugin for zebra multiplatform sdk

bluetooth_printer.dart 304B

12345678
  1. class BluetoothPrinter {
  2. String friendlyName;
  3. String macAddress;
  4. BluetoothPrinter(this.friendlyName, this.macAddress);
  5. BluetoothPrinter.fromMap(Map<Object?, Object?> map) : friendlyName = (map['friendlyName'] as String?) ?? 'unknown', macAddress = (map['macAddress'] as String?) ?? 'unknown';
  6. }