toModel method

OperationCancellation toModel()

Constructs a new OperationCancellation from this OperationCancellationMixin.

Implementation

OperationCancellation toModel() =>
    OperationCancellation(code: code, reason: reason, at: at);