toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final parameters = this.parameters;
final serializationLibrary = this.serializationLibrary;
return {
if (name != null) 'Name': name,
if (parameters != null) 'Parameters': parameters,
if (serializationLibrary != null)
'SerializationLibrary': serializationLibrary,
};
}