toJson method
Converts this class object into a JSON value.
Implementation
@override
Map<String, dynamic> toJson() {
final result = <String, dynamic>{
"in": in_,
...super.toJson(),
};
if (name != null) {
result["name"] = name;
}
return result;
}