ModelSchema class

Mixed-in types
Annotations

Constructors

ModelSchema({required String name, String? pluralName, List<AuthRule>? authRules, Map<String, ModelField>? fields, List<ModelIndex>? indexes})
const
ModelSchema.fromJson(String source)
factory
ModelSchema.fromMap(Map<String, dynamic> map)
factory

Properties

authRules List<AuthRule>?
final
fields Map<String, ModelField>?
final
hashCode int
The hash code for this object.
no setterinherited
indexes List<ModelIndex>?
final
name String
final
pluralName String?
final
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? pluralName, List<AuthRule>? authRules, Map<String, ModelField>? fields, List<ModelIndex>? indexes}) ModelSchema
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited