*<Null safety>*
void ChildViewConnectionStateCallback (ChildViewConnection connection, bool? newState)
typedef ChildViewConnectionStateCallback = void Function( ChildViewConnection connection, bool? newState);