SvgElement constructor

SvgElement({
  1. required String tag,
  2. required String id,
})

Creates an SvgElement with the given _tag and _id.

Implementation

SvgElement({required String tag, required String id}) : _tag = tag, _id = id;