listFromJson static method
Implementation
static List<InternalServiceCollection> listFromJson(List<dynamic>? json) {
if (json == null) {
return <InternalServiceCollection>[];
}
return json.fold(<InternalServiceCollection>[],
(List<InternalServiceCollection> previousValue, element) {
final InternalServiceCollection? object =
InternalServiceCollection.fromJson(element);
if (object is InternalServiceCollection) {
previousValue.add(object);
}
return previousValue;
});
}