byList<T> method
Implementation
List<T>? byList<T>(String key, T Function(dynamic rawValue) onDeserialize, {List<T>? defaultValue}) {
if (this[key] == null) return defaultValue;
if (this[key] is! List) return defaultValue;
return (this[key] as List).map((e) => onDeserialize.call(e)).toList();
}