Map<String, dynamic> toMap() { return <String, dynamic>{ 'percent': percent, 'revision': revision, 'tag': tag, 'type': type, 'uri': uri, }; }