openCustomDocument property
FutureOr<T> Function(Uri, CustomDocumentOpenContext, CancellationToken)
get
openCustomDocument
Implementation
_i4.FutureOr<T> Function(
_i3.Uri,
_i3.CustomDocumentOpenContext,
_i3.CancellationToken,
) get openCustomDocument => (
_i3.Uri p0,
_i3.CustomDocumentOpenContext p1,
_i3.CancellationToken p2,
) =>
_i5.callMethod(
_i5.getProperty(
this,
'openCustomDocument',
),
r'call',
[
this,
p0,
p1,
p2,
],
);
set
openCustomDocument
(FutureOr<T> value(Uri, CustomDocumentOpenContext, CancellationToken))
Implementation
set openCustomDocument(
_i4.FutureOr<T> Function(
_i3.Uri,
_i3.CustomDocumentOpenContext,
_i3.CancellationToken,
) value) {
_i5.setProperty(
this,
'openCustomDocument',
_i5.allowInterop((
p0,
p1,
p2,
) =>
_i6.Promise.futureOr(() => value(
p0,
p1,
p2,
))),
);
}