copyWith method

Audios copyWith({
  1. int? totalCount,
  2. List<Audio>? audios,
  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

Audios copyWith({
  int? totalCount,
  List<Audio>? audios,
  dynamic extra,
  int? clientId,
}) => Audios(
  totalCount: totalCount ?? this.totalCount,
  audios: audios ?? this.audios,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);