RelationMeta constructor

RelationMeta({
  1. required String key,
  2. bool paginate = false,
  3. int? page,
  4. int? perPage,
  5. List? nested,
  6. Function? query,
})

Implementation

RelationMeta({
  required this.key,
  this.paginate = false,
  this.page,
  this.perPage,
  List<dynamic>? nested,
  this.query,
}) : nested = nested ?? [];