Converts this Token to a Map suitable for sending over the platform channel.
Map<String, dynamic> toMap() { return { 'data': data, 'dataType': dataType, 'format': format, 'key': key, 'rawData': rawData, }; }