copyWith method

AsyncContentBodyMediaToken copyWith({
  1. List<String>? collectionIds,
  2. String? contentId,
  3. String? expiryDateTime,
  4. List<String>? fileIds,
  5. String? token,
})

Implementation

AsyncContentBodyMediaToken copyWith(
    {List<String>? collectionIds,
    String? contentId,
    String? expiryDateTime,
    List<String>? fileIds,
    String? token}) {
  return AsyncContentBodyMediaToken(
    collectionIds: collectionIds ?? this.collectionIds,
    contentId: contentId ?? this.contentId,
    expiryDateTime: expiryDateTime ?? this.expiryDateTime,
    fileIds: fileIds ?? this.fileIds,
    token: token ?? this.token,
  );
}