copyWith method
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,
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,
);
}