assignToStruct method

void assignToStruct(
  1. T struct
)

Assigns all values to an existing struct. This method should be implemented by all InnerTaskOptions types to hydrate a struct, but not for the creation of that struct. Allocation and management of the actual structs are handled by TaskOptions.copyToNative on the wrapping options object.

Implementation

void assignToStruct(T struct) {
  throw UnimplementedError('Must implement $runtimeType.assignToStruct');
}