ModelSchema constructor

const ModelSchema({
  1. required String name,
  2. String? pluralName,
  3. List<AuthRule>? authRules,
  4. Map<String, ModelField>? fields,
  5. List<ModelIndex>? indexes,
})

Implementation

const ModelSchema({
  required this.name,
  this.pluralName,
  this.authRules,
  this.fields,
  this.indexes,
});