PaymentMethodDetailsGrabpay.fromJson constructor

PaymentMethodDetailsGrabpay.fromJson(
  1. Object? json
)

Implementation

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