resource Reference to the resource (containing the contents of the resource needed for operations). This is allowed to be a Parameters resource.
Reference? get resource => throw _privateConstructorUsedError;