ScreenContentModel class
- Available extensions
- Annotations
-
- @CopyWith()
- @JsonSerializable()
Constructors
- ScreenContentModel.new({required String content, required ScreenContentType contentType})
-
const
- ScreenContentModel.fromJson(dynamic json)
-
factory
Properties
- content → String
-
final
- contentType → ScreenContentType
-
final
- copyWith → _$ScreenContentModelCWProxy
-
Available on ScreenContentModel, provided by the $ScreenContentModelCopyWith extension
Returns a callable class that can be used as follows:instanceOfScreenContentModel.copyWith(...)
or like so:instanceOfScreenContentModel.copyWith.fieldName(...)
.no setter - hashCode → int
-
The hash code for this object.
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(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited