Property class

A Property consists of a user-supplied name/value pair.

Annotations
  • @JsonSerializable()

Constructors

Property({required String name, String? value, num? number})
Property.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name of the property.
final
number num?
Value of numeric properties.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
Value of the property.
final

Methods

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

Operators

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