Currency.fromMap constructor

Currency.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Currency.fromMap(Map<String, dynamic> map) {
  return Currency(
    symbol: map['symbol'] as String,
    name: map['name'] as String,
    symbolNative: map['symbol_native'] as String,
    decimalDigits: map['decimal_digits'] as String,
    rounding: map['rounding'] as String,
    code: map['code'] as String,
    namePlurals: map['name_plurals'] as String,
  );
}