getBySource method Null safety
- String source,
- {String? origin}
Gets a OwnershipModel by its source
and origin
from local database.
If no origin
is provided the _defaultOrigin
will be used
Implementation
OwnershipModel? getBySource(String source, {String? origin}) =>
_repository.getBySource(source, origin ?? _defaultOrigin);