How to create our own metadata in Dart?
问题 I want to create some own metadata for my dart codem, e.g. @table, @column, but I can't find any useful documents about it. But I do found there are some special metadata (e.g. NgController) in angular.dart: https://github.com/angular/angular.dart/blob/master/demo/todo/web/todo.dart#L52 How to create my own metadata in Dart? Is there any documents? 回答1: Dart supports metadata which is used to attach user defined annotations to program structures. Metadata consists of a series of annotations,