copyWith method
MemberMediumModel
copyWith({
- String? documentID,
- String? appId,
- String? authorId,
- String? base,
- String? ext,
- String? url,
- String? ref,
- String? urlThumbnail,
- String? refThumbnail,
- MemberMediumAccessibleByGroup? accessibleByGroup,
- List<
String> ? accessibleByMembers, - List<
String> ? readAccess, - MediumType? mediumType,
- int? mediumWidth,
- int? mediumHeight,
- int? thumbnailWidth,
- int? thumbnailHeight,
override
Implementation
@override
MemberMediumModel copyWith({
String? documentID,
String? appId,
String? authorId,
String? base,
String? ext,
String? url,
String? ref,
String? urlThumbnail,
String? refThumbnail,
MemberMediumAccessibleByGroup? accessibleByGroup,
List<String>? accessibleByMembers,
List<String>? readAccess,
MediumType? mediumType,
int? mediumWidth,
int? mediumHeight,
int? thumbnailWidth,
int? thumbnailHeight,
String? relatedMediumId,
}) {
return MemberMediumModel(
documentID: documentID ?? this.documentID,
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,
);
}