getFromSource<T> method

T? getFromSource<T>()

Implementation

T? getFromSource<T>() {
  try {
    return source as T;
  } catch (e) {
    return null;
  }
}