get<T> method
Function to get a value from the room
Implementation
T? get<T>(String key) {
var cdata = getKey(key);
try {
return cdata as T;
} catch (e) {
return null;
}
}
Function to get a value from the room
T? get<T>(String key) {
var cdata = getKey(key);
try {
return cdata as T;
} catch (e) {
return null;
}
}