FavoriteModel class
Value for model.
- Annotations
-
- @freezed
- @formValue
- @immutable
- @CollectionModelPath.new("user/:user_id/favorite")
Constructors
- FavoriteModel({@RefParam.new(NoteModelDocument) NoteModelRef? note})
-
constfactory
-
FavoriteModel.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $FavoriteModelCopyWith<
FavoriteModel> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
note
→ ModelRefBase<
NoteModel> ? -
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- collection → const _$FavoriteModelCollectionQuery
- Query for collection.
- document → const _$FavoriteModelDocumentQuery
- Query for document.
- form → const _$FavoriteModelFormQuery
- Query for form value.