write method

void write(
  1. String epc, {
  2. String? epcNew,
  3. double? password,
  4. double? passwordNew,
  5. String? data,
})

Implementation

void write(String epc,
    {String? epcNew, double? password, double? passwordNew, String? data}) {
  _methodChannel.invokeMethod("write", {
    "epc": epc,
    "epcNew": epcNew ?? "",
    "password": (password ?? "").toString(),
    "passwordNew": (passwordNew ?? "").toString(),
    "data": data ?? "",
  });
}