resource Target of the relationship Resource reference.
Reference? get resource => throw _privateConstructorUsedError;