toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "barcodeValue": barcodeValue,
      "title": (title != null ? title! : null),
      "image": (image != null ? image! : null),
      "count": count,
    };