SettingsMutation.fromJson constructor
Implementation
factory SettingsMutation.fromJson(Map<String, Object?> json) =>
SettingsMutation(
destinations: json["destinations"] == null
? null
: core.PayoutDestinations.fromJson(json["destinations"]),
fxEnabled:
json["fx_enabled"] == null ? null : json["fx_enabled"] as bool,
id: json["id"] == null ? null : json["id"] as String,
limits: SettingsLimits.fromJson(
(json['limits'] as Map).cast<String, Object?>(),
),
schedule: json["schedule"] == null
? null
: SettingsMutationSchedule.fromJson(
(json["schedule"] as Map).cast<String, Object?>(),
),
);