toMap method

Map toMap()

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;
  return data;
}