Settings.fromJson constructor
Implementation
factory Settings.fromJson(Map<String, Object?> json) => Settings(
mobileMoney: json["mobile_money"] == null
? null
: TypeSetting.fromJson(
(json["mobile_money"] as Map).cast<String, Object?>(),
),
bankAccount: json["bank_account"] == null
? null
: TypeSetting.fromJson(
(json["bank_account"] as Map).cast<String, Object?>(),
),
card: json["card"] == null
? null
: TypeSetting.fromJson(
(json["card"] as Map).cast<String, Object?>(),
),
motito: json["motito"] == null
? null
: TypeSetting.fromJson(
(json["motito"] as Map).cast<String, Object?>(),
),
);