id method

String id()

Implementation

String id() {
  final String? id = this;
  if (id == null) return "";
  return ' id="$id"';
}