LookupData constructor

const LookupData({
  1. bool? active,
  2. String? createdDate,
  3. String? modifiedDate,
  4. String? createdBy,
  5. String? modifiedBy,
  6. String? name,
  7. String? description,
  8. String? dataType,
  9. List<Lookup>? detail,
})

Implementation

const LookupData({
  bool? active,
  String? createdDate,
  String? modifiedDate,
  String? createdBy,
  String? modifiedBy,
  String? name,
  String? description,
  String? dataType,
  List<Lookup>? detail,
}) : active = active ?? false,
     createdDate = createdDate ?? "",
     modifiedDate = modifiedDate ?? "",
     createdBy = createdBy ?? "",
     modifiedBy = modifiedBy ?? "",
     name = name ?? "",
     description = description ?? "",
     dataType = dataType ?? "",
     detail = detail ?? const [];