toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.code != null) {
json[r'code'] = this.code;
} else {
json[r'code'] = null;
}
if (this.instrument != null) {
json[r'instrument'] = this.instrument;
} else {
json[r'instrument'] = null;
}
return json;
}