ObjectValue class

A constructor call: Container(...), EdgeInsets.all(16).

Inheritance

Constructors

ObjectValue({required String type, String? constructor, String? library, bool isWidget = false, bool inProject = false, List<DartValue> positional = const [], Map<String, DartValue> named = const {}, DartValue? build, String? source})

Properties

build → DartValue?
For widgets declared in the analyzed project: the tree their build method returns, with constructor arguments substituted for fields.
final
constructor → String?
Named constructor, e.g. all in EdgeInsets.all.
final
displayName → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
inProject → bool
The class is declared in the analyzed project (not Flutter, not a package such as flutter_bloc).
final
isFlutter → bool
no setter
isWidget → bool
final
library → String?
Declaring library URI, e.g. package:flutter/src/widgets/container.dart.
final
named → Map<String, DartValue>
final
positional → List<DartValue>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
relative/path.dart:line of the expression.
finalinherited
type → String
Class name, e.g. Container.
final

Methods

arg(int index) → DartValue?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String name) → DartValue?