toNullable method

T? toNullable()

Returns the inner type as the nullable version of T

Implementation

T? toNullable() {
  return v;
}