RecordModel constructor

RecordModel({
  1. String id = "",
  2. String created = "",
  3. String updated = "",
  4. String collectionId = "",
  5. String collectionName = "",
  6. Map<String, List<RecordModel>>? expand,
  7. Map<String, dynamic>? data,
})

Implementation

RecordModel({
  this.id = "",
  this.created = "",
  this.updated = "",
  this.collectionId = "",
  this.collectionName = "",
  Map<String, List<RecordModel>>? expand,
  Map<String, dynamic>? data,
})  : expand = expand ?? {},
      data = data ?? {};