of static method

MemoryList of({
  1. int? count,
  2. List<IMemory>? data,
})

Implementation

static MemoryList of({
  int? count,
  List<IMemory>? data
  }) {
  final self = MemoryList(<String, dynamic>{}, mtype: MemoryListRef, update: true);
  if (count != null) self.count = count;
  if (data != null) self.data = data;
  return self;
}