fromMap static method

Implementation

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