Deafult factory constructor for Span
factory Span({ required String type, required int end, required int start, }) = _Span;