visitTypeLiteral method

  1. @override
Future<void> visitTypeLiteral(
  1. TypeLiteral typeLiteral
)
override

Implementation

@override
Future<void> visitTypeLiteral(TypeLiteral typeLiteral) async {
  try {
    annotations[typeLiteral] = _resolveType(typeLiteral);
  } on ResolveError catch (error) {
    _errorHandler?.emit(error);
  }
}