deviceParams property
@deprecated: Use transistorAuthorizationToken
Implementation
static Future<Map<String, dynamic>> get deviceParams async {
DeviceInfo deviceInfo = await DeviceInfo.getInstance();
Map map = deviceInfo.toMap();
RegExp re = new RegExp(r"[\s\.,]");
String uuid =
'${deviceInfo.model}-${deviceInfo.version}'.replaceAll(re, '-');
map['uuid'] = uuid;
map['framework'] = 'flutter';
return map as FutureOr<Map<String, dynamic>>;
}