ConfigurationTipping.fromJson constructor

ConfigurationTipping.fromJson(
  1. Object? json
)

Implementation

factory ConfigurationTipping.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ConfigurationTipping(
    aud: map['aud'] == null ? null : ConfigurationAud.fromJson(map['aud']),
    cad: map['cad'] == null ? null : ConfigurationAud.fromJson(map['cad']),
    chf: map['chf'] == null ? null : ConfigurationAud.fromJson(map['chf']),
    czk: map['czk'] == null ? null : ConfigurationAud.fromJson(map['czk']),
    dkk: map['dkk'] == null ? null : ConfigurationAud.fromJson(map['dkk']),
    eur: map['eur'] == null ? null : ConfigurationAud.fromJson(map['eur']),
    gbp: map['gbp'] == null ? null : ConfigurationAud.fromJson(map['gbp']),
    hkd: map['hkd'] == null ? null : ConfigurationAud.fromJson(map['hkd']),
    myr: map['myr'] == null ? null : ConfigurationAud.fromJson(map['myr']),
    nok: map['nok'] == null ? null : ConfigurationAud.fromJson(map['nok']),
    nzd: map['nzd'] == null ? null : ConfigurationAud.fromJson(map['nzd']),
    sek: map['sek'] == null ? null : ConfigurationAud.fromJson(map['sek']),
    sgd: map['sgd'] == null ? null : ConfigurationAud.fromJson(map['sgd']),
    usd: map['usd'] == null ? null : ConfigurationAud.fromJson(map['usd']),
  );
}