toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('active')) {
    final l$active = active;
    result$data['active'] = l$active;
  }
  if (_$data.containsKey('currencies')) {
    final l$currencies = currencies;
    result$data['currencies'] = l$currencies?.map((e) => e.toJson()).toList();
  }
  return result$data;
}