CurrencyConfig.fromJson constructor

CurrencyConfig.fromJson(
  1. dynamic json
)

Implementation

factory CurrencyConfig.fromJson(dynamic json) {
  return CurrencyConfig(
    code: json['code'] as String,
    label: json['label'] as String,
  );
}