FastMediaLayoutBlocState class

Inheritance
  • Object
  • TModel
  • BlocState
  • FastMediaLayoutBlocState

Constructors

FastMediaLayoutBlocState({FastMediaType mediaType = FastMediaType.handset, bool isLoading = false, bool isLoaded = false})
const

Properties

error → dynamic
finalinherited
hasError bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
finalinherited
isInitializing bool
finalinherited
isLoaded bool
final
isLoading bool
final
mediaType FastMediaType
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

clone() FastMediaLayoutBlocState
Creates a copy of this TModel.
override
copyWith({FastMediaType? mediaType, bool? isLoading, bool? isLoaded}) FastMediaLayoutBlocState
Creates a copy of this TModel but with the given fields replaced with the new values.
override
merge(covariant FastMediaLayoutBlocState state) FastMediaLayoutBlocState
Creates a new TModel where each properties from this object has been merged with the matching properties from the other object.
override
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