GlobalObjectKey<T extends State<StatefulWidget>> constructor Null safety

const GlobalObjectKey<T extends State<StatefulWidget>>(
  1. Object value
)

Creates a global key that uses identical on value for its operator==.

Implementation

const GlobalObjectKey(this.value) : super.constructor();