resource property
resource The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.
Implementation
Resource? get resource => throw _privateConstructorUsedError;