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;
}