fromMap static method

BookingPaymentInvoice? fromMap(
  1. Object? body
)

Implementation

static BookingPaymentInvoice? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return BookingPaymentInvoice(
    applied: readText(source['applied']),
    dueDate: readText(source['due_date']),
    id: readText(source['id']),
    issueDate: readText(source['issue_date']),
    outstanding: readText(source['outstanding']),
    total: readText(source['total']),
  );
}