NextActionConfirmAttempt.fromJson constructor

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

Implementation

factory NextActionConfirmAttempt.fromJson(
  Map<String, Object?> json,
) =>
    NextActionConfirmAttempt(
      status: json["status"] as String,
      confirmed: json["confirmed"] as bool,
      reason: json["reason"] as String,
      executedAt: json["executed_at"] == null
          ? null
          : decodeDateTime(json["executed_at"]),
      createdAt: decodeDateTime(json["created_at"]),
    );