StringIdText class

Constructors

StringIdText(String id, String text)
StringIdText.empty()
StringIdText.fromJson(Map<String, dynamic> map)
factory

Properties

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

Methods

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

Operators

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

Static Methods

findAllById(List<StringIdText> stringIdTexts, List<String> ids) List<StringIdText>
findById(List<StringIdText> stringIdTexts, String? id) StringIdText?
listFrom(List? list) List<StringIdText>
nullableFromJson(Map<String, dynamic>? map) StringIdText?
nullableListFrom(List? list) List<StringIdText>?