toJson method
Implementation
Map<String, dynamic> toJson() => {
"network_identifier": network_identifier.toJson(),
"operations": operations.map((e) => e.toJson()).toList(),
"public_keys": public_keys?.map((e) => e.toJson()).toList(),
"metadata": metadata
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);