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