resolveService<T> method Null safety

  1. @override
T? resolveService<T>(
  1. {bool listen = false}
)
override

Implementation

@override
T? resolveService<T>({bool listen = false}) {
  return Provider.of<T>(context, listen: listen);
}