onOpenDocument property Null safety

Function onOpenDocument
final

Implementation

final Function onOpenDocument;