ofExtra<T extends TDExtraThemeData> method

T? ofExtra<T extends TDExtraThemeData>()

Implementation

T? ofExtra<T extends TDExtraThemeData>() {
  try {
    return extraThemeData as T;
  } catch (e) {
    Log.e('TDThemeData ofExtra error: $e');
  }
  return null;
}