first method

Future<RelatedModel?> first()

Implementation

Future<RelatedModel?> first() =>
    _query.whereEqual(foreignKey, owner.id!).findOne();