FlutterWidgetPropertyValue class

FlutterWidgetPropertyValue

{ "boolValue": optional bool "doubleValue": optional double "intValue": optional int "stringValue": optional String "enumValue": optional FlutterWidgetPropertyValueEnumItem "expression": optional String }

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

Constructors

FlutterWidgetPropertyValue({bool? boolValue, double? doubleValue, int? intValue, String? stringValue, FlutterWidgetPropertyValueEnumItem? enumValue, String? expression})
FlutterWidgetPropertyValue.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

boolValue bool?
getter/setter pair
doubleValue double?
getter/setter pair
enumValue FlutterWidgetPropertyValueEnumItem?
getter/setter pair
expression String?
A free-form expression, which will be used as the value as is.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
intValue int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringValue String?
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