toMap method

Map<String, dynamic> toMap()

get map from ScanProductModel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'itemCount': itemCount,
    'itemValue': itemValue,
  };
}