toJson method
Implementation
Map<String, dynamic> toJson() => {
"blockchain": blockchain,
"network": network,
"sub_network_identifier": sub_network_identifier?.toJson()
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);