getRootContext abstract method Null safety

BuildContext? getRootContext()

Gets root context.