toJson method
Implementation
Map<String, dynamic> toJson() => {
"rosetta_version": rosetta_version,
"node_version": node_version,
"middleware_version": middleware_version,
"metadata": metadata
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);