toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'name': name,
'storage': storageV16?.toJson(),
'calls': callsV16?.toJson(),
'event': eventV16?.toJson(),
'constants': constantsV16.map((c) => c.toJson()).toList(),
'error': errorV16?.toJson(),
'associatedTypes': associatedTypes.map((a) => a.toJson()).toList(),
'viewFunctions': viewFunctions.map((v) => v.toJson()).toList(),
'index': index,
'docs': docs,
'deprecationInfo': deprecationInfo.toJson(),
};