PayoutSettingsRequest.fromJson constructor

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

Implementation

factory PayoutSettingsRequest.fromJson(Map<String, Object?> json) =>
    PayoutSettingsRequest(
      destination: json["destination"] == null
          ? null
          : PayoutSettingsRequestDestination.fromJson(
              (json["destination"] as Map).cast<String, Object?>(),
            ),
      enableFx: json["enable_fx"] == null ? null : json["enable_fx"] as bool,
    );