getTag<T> method

T? getTag<T>(
  1. String key
)

Returns the tag associated with this viewmodel and the specified key.

Implementation

T? getTag<T>(String key) {
  return _bagOfTag[key] as T?;
}