fromMap static method

RefundNoteList? fromMap(
  1. Object? body
)

Implementation

static RefundNoteList? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return RefundNoteList(
    data: readList<RefundNote>(source['data'], RefundNote.fromMap),
    object: readText(source['object']),
    pagination: Pagination.fromMap(source['pagination']),
    url: readText(source['url']),
  );
}