parse method Null safety

  1. @override
void parse(
  1. BuildMetadata meta
)
override

Parses meta for build ops and text styles.

Implementation

@override
void parse(BuildMetadata meta) {
  switch (meta.element.localName) {
    case kTagAudio:
      _tagAudio ??= TagAudio(this).op;
      meta.register(_tagAudio!);
      break;
  }
  return super.parse(meta);
}