Returns a JSON representation of this.
@override Map<String, Object?> toJson() => { 'runtimeType': 'TagType', 'kind': kind.toJson(), 'function-type': functionType.toJson(), };