NextActionConfirm.fromJson constructor
Implementation
factory NextActionConfirm.fromJson(Map<String, Object?> json) =>
NextActionConfirm(
expiresAt: decodeDateTime(json["expires_at"]),
scheme: json["scheme"] as String,
request: json["request"] == null
? null
: NextActionConfirmRequest.fromJson(
(json["request"] as Map).cast<String, Object?>(),
),
attempt: json["attempt"] == null
? null
: NextActionConfirmAttempt.fromJson(
(json["attempt"] as Map).cast<String, Object?>(),
),
confirmed: json["confirmed"] as bool,
status: json["status"] as String,
);