toMap method

Map<String, dynamic> toMap()

Converts this Token to a Map suitable for sending over the platform channel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'data': data,
    'dataType': dataType,
    'format': format,
    'key': key,
    'rawData': rawData,
  };
}