RefundNextActionDisplayDetails.fromJson constructor

RefundNextActionDisplayDetails.fromJson(
  1. 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()),
  );
}