fromMap static method

PaymentCreditApplied? fromMap(
  1. Object? body
)

Implementation

static PaymentCreditApplied? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return PaymentCreditApplied(
    amount: readText(source['amount']),
    code: readText(source['code']),
  );
}