call method Null safety

T? call(
  1. [T? v]
)

Implementation

T? call([T? v]) {
  if (v != null) {
    value = v;
  }
  return value;
}