Operation constructor
Implementation
factory Operation({
$core.String? name,
$2.Any? metadata,
$core.bool? done,
$3.Status? error,
$2.Any? response,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (metadata != null) {
$result.metadata = metadata;
}
if (done != null) {
$result.done = done;
}
if (error != null) {
$result.error = error;
}
if (response != null) {
$result.response = response;
}
return $result;
}