copyWith method

ImportedContacts copyWith({
  1. List<int>? userIds,
  2. List<int>? importerCount,
  3. dynamic extra,
  4. int? clientId,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

ImportedContacts copyWith({
  List<int>? userIds,
  List<int>? importerCount,
  dynamic extra,
  int? clientId,
}) =>
    ImportedContacts(
      userIds: userIds ?? this.userIds,
      importerCount: importerCount ?? this.importerCount,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );