CollectionModel class
Annotation indicating a collection in Masamune.
Constructors
- CollectionModel(String path, {ConverterBase converter = const DefaultConverter(), String? linkedPath, bool enableCollectionCount = false})
-
const
Properties
- converter → ConverterBase
-
Converter for value conversion.
final
- enableCollectionCount → bool
-
Record the counts of your own collection in the document in the hierarchy above.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkedPath → String?
-
Specifying linkedPath allows you to simultaneously create linked documents (e.g., follow and follower documents).
final
- path → String
-
Paths for models.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited