invoke method

dynamic invoke(
  1. Function handler
)

Implementation

dynamic invoke(Function handler) {
  var typeIds = context[r'$types'] as List? ?? [];
  var types = typeIds.map((id) => TypePlus.fromId(id as String)).toList();
  return handler.callWith(typeArguments: types);
}