maybeDataSource<T extends Object> static method

T? maybeDataSource<T extends Object>(
  1. BuildContext context
)

The first data source assignable to T among those the nearest app's FleuryAppExtensions contribute, or null when none is or there is no FleuryApp above context.

Implementation

static T? maybeDataSource<T extends Object>(BuildContext context) =>
    maybeOf(context)?.maybeDataSource<T>();