RefundNextAction.fromJson constructor

RefundNextAction.fromJson(
  1. Object? json
)

Implementation

factory RefundNextAction.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return RefundNextAction(
    displayDetails: map['display_details'] == null
        ? null
        : RefundNextActionDisplayDetails.fromJson(map['display_details']),
    type: (map['type'] as String),
  );
}