copyWith method
ImageContent
copyWith(
{ - Object? annotations = _acpCopyWithAbsent,
- Object? data = _acpCopyWithAbsent,
- Object? mimeType = _acpCopyWithAbsent,
- Object? uri = _acpCopyWithAbsent,
- Object? meta = _acpCopyWithAbsent,
})
Implementation
ImageContent copyWith({
Object? annotations = _acpCopyWithAbsent,
Object? data = _acpCopyWithAbsent,
Object? mimeType = _acpCopyWithAbsent,
Object? uri = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => ImageContent(
annotations: identical(annotations, _acpCopyWithAbsent)
? this.annotations
: annotations as Annotations?,
data: identical(data, _acpCopyWithAbsent) ? this.data : data as String,
mimeType: identical(mimeType, _acpCopyWithAbsent)
? this.mimeType
: mimeType as String,
uri: identical(uri, _acpCopyWithAbsent) ? this.uri : uri as String?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);