toJson method
Creates Map
from Class Object
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'lookup': lookup.toJson(),
'pallets': pallets.map((value) => value.toJson()).toList(growable: false),
'extrinsic': extrinsic.toJson(),
'type': type,
};
}