copyWith method

MemberMediumEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? authorId,
  4. String? base,
  5. String? ext,
  6. String? url,
  7. String? ref,
  8. String? urlThumbnail,
  9. String? refThumbnail,
  10. int? accessibleByGroup,
  11. List<String>? accessibleByMembers,
  12. List<String>? readAccess,
  13. int? mediumType,
  14. int? mediumWidth,
  15. int? mediumHeight,
  16. int? thumbnailWidth,
  17. int? thumbnailHeight,
  18. String? relatedMediumId,
})

Implementation

MemberMediumEntity copyWith({
  String? documentID,
  String? appId,
  String? authorId,
  String? base,
  String? ext,
  String? url,
  String? ref,
  String? urlThumbnail,
  String? refThumbnail,
  int? accessibleByGroup,
  List<String>? accessibleByMembers,
  List<String>? readAccess,
  int? mediumType,
  int? mediumWidth,
  int? mediumHeight,
  int? thumbnailWidth,
  int? thumbnailHeight,
  String? relatedMediumId,
}) {
  return MemberMediumEntity(
    appId: appId ?? this.appId,
    authorId: authorId ?? this.authorId,
    base: base ?? this.base,
    ext: ext ?? this.ext,
    url: url ?? this.url,
    ref: ref ?? this.ref,
    urlThumbnail: urlThumbnail ?? this.urlThumbnail,
    refThumbnail: refThumbnail ?? this.refThumbnail,
    accessibleByGroup: accessibleByGroup ?? this.accessibleByGroup,
    accessibleByMembers: accessibleByMembers ?? this.accessibleByMembers,
    readAccess: readAccess ?? this.readAccess,
    mediumType: mediumType ?? this.mediumType,
    mediumWidth: mediumWidth ?? this.mediumWidth,
    mediumHeight: mediumHeight ?? this.mediumHeight,
    thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
    thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
    relatedMediumId: relatedMediumId ?? this.relatedMediumId,
  );
}