getData<T> method

T? getData<T>()

Get the user data assigned to the body.

Implementation

T? getData<T>() {
  var q = _bd_data[_toPointer.address];
  if (q != null) {
    return q as T;
  } else {
    return null;
  }
}