SharedObjectField<R extends SharedReference, O extends ReferenceableType, F extends SharedObjectField<R, O, F> >.fromID constructor
SharedObjectField<R extends SharedReference, O extends ReferenceableType, F extends SharedObjectField<R, O, F> >.fromID (
- SharedFieldInstanceHandler<
R, O, F> ? instanceHandler, - SharedFieldInstantiator<
R, O, F> ? fieldInstantiator, - (Type, Object?)? instanceHandlerGroup,
Implementation
SharedObjectField.fromID(
this.sharedObjectID, {
R? sharedObjectReference,
SharedFieldInstanceHandler<R, O, F>? instanceHandler,
SharedFieldInstantiator<R, O, F>? fieldInstantiator,
SharedObjectInstantiator<R, O>? sharedObjectInstantiator,
(Type, Object?)? instanceHandlerGroup,
}) : _instanceHandlerGroup = instanceHandlerGroup ?? instanceHandler?.group,
_fieldInstantiator = fieldInstantiator ??
instanceHandler?.fieldInstantiator ??
(throw ArgumentError.notNull('fieldInstantiator')),
_sharedObjectInstantiator = sharedObjectInstantiator ??
instanceHandler?.sharedObjectInstantiator ??
(throw ArgumentError.notNull('sharedObjectInstantiator')) {
_setupInstanceFromConstructor(sharedObjectReference);
}