Valuable class

Base instance at valuable

Constructors

Valuable({required String title, required String value})
Valuable.glass(String title, String value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
getter/setter pair
value String
getter/setter pair

Methods

copyWith() Valuable
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map params, {String titleKey = 'name', String valueKey = 'id'}) Valuable
fromList(List? list, {String title = 'name', String value = 'id'}) List<Valuable>