copyWith method

AuditRecords copyWith({
  1. int? limit,
  2. int? offset,
  3. List<AuditRecordBean>? records,
  4. int? total,
})

Implementation

AuditRecords copyWith(
    {int? limit, int? offset, List<AuditRecordBean>? records, int? total}) {
  return AuditRecords(
    limit: limit ?? this.limit,
    offset: offset ?? this.offset,
    records: records ?? this.records,
    total: total ?? this.total,
  );
}