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