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