toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('user')) {
    final l$user = user;
    result$data['user'] = l$user;
  }
  if (_$data.containsKey('pos')) {
    final l$pos = pos;
    result$data['pos'] = l$pos;
  }
  if (_$data.containsKey('wholesaler')) {
    final l$wholesaler = wholesaler;
    result$data['wholesaler'] = l$wholesaler;
  }
  if (_$data.containsKey('manufacturer')) {
    final l$manufacturer = manufacturer;
    result$data['manufacturer'] = l$manufacturer;
  }
  return result$data;
}