SettingsLookup.fromJson constructor

SettingsLookup.fromJson(
  1. Map<String, Object?> json
)

Implementation

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