copyWith method
Implementation
EncodingOptions copyWith({Object? data}) {
return EncodingOptions(
includeTypeId: includeTypeId,
inheritOptions: inheritOptions,
shallow: shallow,
data: data ?? this.data,
);
}
EncodingOptions copyWith({Object? data}) {
return EncodingOptions(
includeTypeId: includeTypeId,
inheritOptions: inheritOptions,
shallow: shallow,
data: data ?? this.data,
);
}