toDictionary method

Map<String, String> toDictionary()

Converts the tag to a dictionary @returns The dictionary representation of the tag

Implementation

Map<String, String> toDictionary() => {'tag': tag, 'value': value};