asSharedObject property
SharedObject?
asSharedObject
Cast this SharedMap instance to a SharedObject if possible,
otherwise, return null
.
Implementation
SharedObject? get asSharedObject {
var self = this;
if (self is SharedObject) {
var sharedObj = self as SharedObject;
return sharedObj;
}
return null;
}