getVariable<T> method

T getVariable<T>({
  1. required String id,
})

Returns variable by id

Implementation

T getVariable<T>({required String id}) {
  return _variables[id] as T;
}