copyWith method

CompanyList copyWith({
  1. num? id,
  2. num? masterUserId,
  3. String? name,
  4. String? isApproved,
  5. num? createdAtToday,
  6. String? createdAt,
  7. String? createdTime,
})

Implementation

CompanyList copyWith({  num? id,
  num? masterUserId,
  String? name,
  String? isApproved,
  num? createdAtToday,
  String? createdAt,
  String? createdTime,
}) => CompanyList(  id: id ?? _id,
  masterUserId: masterUserId ?? _masterUserId,
  name: name ?? _name,
  isApproved: isApproved ?? _isApproved,
  createdAtToday: createdAtToday ?? _createdAtToday,
  createdAt: createdAt ?? _createdAt,
  createdTime: createdTime ?? _createdTime,
);