Future<E> constructor Null safety

const Future<E>(
  1. Cast<E> value
)

Implementation

const Future(Cast<E> value) : _value = value;