toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'type': typeString,
  'typeId': typeId,
  'value': value.toHexString(),
  'docs': docs,
  'palletName': palletName,
};