FlutterOutlineAttribute class

FlutterOutlineAttribute

{ "name": String "label": String "literalValueBoolean": optional bool "literalValueInteger": optional int "literalValueString": optional String "nameLocation": optional Location "valueLocation": optional Location }

Clients may not extend, implement or mix-in this class.

Constructors

FlutterOutlineAttribute(String name, String label, {bool? literalValueBoolean, int? literalValueInteger, String? literalValueString, Location? nameLocation, Location? valueLocation})
FlutterOutlineAttribute.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
label String
The label of the attribute value, usually the Dart code. It might be quite long, the client should abbreviate as needed.
getter/setter pair
literalValueBoolean bool?
The boolean literal value of the attribute. This field is absent if the value is not a boolean literal.
getter/setter pair
literalValueInteger int?
The integer literal value of the attribute. This field is absent if the value is not an integer literal.
getter/setter pair
literalValueString String?
The string literal value of the attribute. This field is absent if the value is not a string literal.
getter/setter pair
name String
The name of the attribute.
getter/setter pair
nameLocation Location?
If the attribute is a named argument, the location of the name, without the colon.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueLocation Location?
The location of the value.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override