RuntimeHintEntry class
A single entry representing a RuntimeHint or RuntimeHintProvider implementation.
Constructors
- RuntimeHintEntry({required String qualifiedName, required String name, required String type})
-
const
-
RuntimeHintEntry.fromJson(Map<
String, dynamic> json) -
Creates a RuntimeHintEntry from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The simple name of the class.
final
- qualifiedName → String
-
The qualified name of the class.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The type of hint: 'direct' for RuntimeHint, 'provider' for RuntimeHintProvider.
final
Methods
-
equalizedProperties(
) → List< Object?> -
Mixin-style contract for value-based equality,
hashCode, andtoString. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List< int> - Serializes this entry to a compact binary format.
-
toJson(
) → Map< String, dynamic> - Converts this entry to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deserialize(
List< int> data, int offset) → (RuntimeHintEntry, int) -
Deserializes a RuntimeHintEntry from binary data starting at
offset.