FlutterWidgetPropertyValueEnumItem class

FlutterWidgetPropertyValueEnumItem

{ "libraryUri": String "className": String "name": String "documentation": optional String }

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

Constructors

FlutterWidgetPropertyValueEnumItem(String libraryUri, String className, String name, {String? documentation})
FlutterWidgetPropertyValueEnumItem.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

className String
The name of the class or enum.
getter/setter pair
documentation String?
The documentation to show to the user. Omitted if the server does not know the documentation, e.g. because the corresponding field is not documented.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
libraryUri String
The URI of the library containing the className. When the enum item is passed back, this will allow the server to import the corresponding library if necessary.
getter/setter pair
name String
The name of the field in the enumeration, or the static field in the class.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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