toJson method
Implementation
Map<String, dynamic> toJson() => {
'types': types.map((type) => type.toJson()).toList(),
'pallets': pallets.map((pallet) => pallet.toJson()).toList(),
'extrinsic': extrinsic.toJson(),
'ty': runtimeTypeId,
'apis': apis,
'outerEnums': outerEnums,
'custom': custom,
};