listFromJson static method

List<VacationDay> listFromJson(
  1. dynamic json
)

Implementation

static List<VacationDay> listFromJson(dynamic json) =>
    json is List && json.isNotEmpty
        ? json.map(VacationDay.fromJson).toList()
        : <VacationDay>[];