toMap method
Implementation
Map<dynamic, dynamic> toMap() {
final Map<dynamic, dynamic> data = {};
data['remote_id'] = remoteId.str;
data['service_uuid'] = serviceUuid.str;
data['secondary_service_uuid'] = secondaryServiceUuid?.str;
data['characteristic_uuid'] = characteristicUuid.str;
data['descriptor_uuid'] = descriptorUuid.str;
return data;
}