load method Null safety

FutureOr<ArchiveSchema> load(
  1. App app
)
override

load returns the Mapping with file format requirements for the given app.

Implementation

@override
FutureOr<ArchiveSchema> load(App app) {
  _app = app;
  return _formats.firstWhere((e) => e.appId == app.id);
}