PaymentFlowsAmountDetails.fromJson constructor

PaymentFlowsAmountDetails.fromJson(
  1. Object? json
)

Implementation

factory PaymentFlowsAmountDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentFlowsAmountDetails(
      tip: map['tip'] == null
          ? null
          : PaymentFlowsAmountDetailsResourceTip.fromJson(map['tip']));
}