listFrom static method
Converts a list of dynamic JSON objects to a list of StringIdText.
Returns an empty list if list is null.
Implementation
static List<StringIdText> listFrom(List<dynamic>? list) {
return list == null
? []
: list.map((e) => StringIdText.fromJson(e)).toList();
}