fromJsonSafeList<T> static method
Implementation
static List<T> fromJsonSafeList<T>(
dynamic value, {
required T Function(dynamic e) producer,
}) =>
switch (value) {
null => <T>[],
Iterable<dynamic> _ => value.map(producer).toList(),
_ => <T>[producer(value)],
};