listFromJson static method

List<NewVacationDayModel> listFromJson(
  1. dynamic json
)

Implementation

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