SetNotificationRequest constructor

SetNotificationRequest({
  1. String? remoteId,
  2. String? serviceUuid,
  3. String? secondaryServiceUuid,
  4. String? characteristicUuid,
  5. bool? enable,
})

Implementation

factory SetNotificationRequest({
  $core.String? remoteId,
  $core.String? serviceUuid,
  $core.String? secondaryServiceUuid,
  $core.String? characteristicUuid,
  $core.bool? enable,
}) {
  final result = create();
  if (remoteId != null) result.remoteId = remoteId;
  if (serviceUuid != null) result.serviceUuid = serviceUuid;
  if (secondaryServiceUuid != null)
    result.secondaryServiceUuid = secondaryServiceUuid;
  if (characteristicUuid != null)
    result.characteristicUuid = characteristicUuid;
  if (enable != null) result.enable = enable;
  return result;
}