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