ComponentInfo class final

One registered component type, as a tool lists it.

Constructors

ComponentInfo({required Type type, required String id, required int version, required bool published, required String declaredBy, String? excludedBecause})
One registered component type as the registry lists it; made by the registry, not by a plugin.
const

Properties

declaredBy → String
The plugin id that registered it, or 'app'.
final
excludedBecause → String?
Why it is not saved, when it is excluded.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The codec's id, or the type's description for an excluded type.
final
published → bool
Whether the view sees it in published state.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Type
The Dart type, for this process only.
final
version → int
The codec's version; 0 for an excluded type.
final

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