RefundNextActionDisplayDetails.fromJson constructor
RefundNextActionDisplayDetails.fromJson(
- Object? json
Implementation
factory RefundNextActionDisplayDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return RefundNextActionDisplayDetails(
emailSent: EmailSent.fromJson(map['email_sent']),
expiresAt: DateTime.fromMillisecondsSinceEpoch(
(map['expires_at'] as int).toInt()),
);
}