listFromJson static method

List<UpdateEmployeeModel> listFromJson(
  1. dynamic json
)

Implementation

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