toMap method
Implementation
@override
Map<String, dynamic> toMap() {
final dict = <String, dynamic>{
'type': 'platformTargeting', // Add type for Kotlin conversion
};
final device = _parameters['device'];
if (device != null) {
dict['device'] = device;
dict['f.device'] = device;
}
return dict;
}