fromMap static method

BluetoothPrinter fromMap(
  1. Map map
)

Implementation

static BluetoothPrinter fromMap(Map<dynamic, dynamic> map) {
  return BluetoothPrinter(
      modelName: map["modelName"],
    macAddress: map["macAddress"]
  );
}