resolve<T> method Null safety

Future<T> resolve<T>()

Implementation

Future<T> resolve<T>() async {
  return await this;
}