createSource method

DivePointer? createSource({
  1. required String sourceUuid,
  2. required String inputTypeId,
  3. required String name,
  4. required DiveObslibData settings,
})

Creates a source of the specified type with the specified settings.

Implementation

DivePointer? createSource({
  required String sourceUuid,
  required String inputTypeId,
  required String name,
  required DiveObslibData settings,
}) =>
    _createSourceInternal(sourceUuid, inputTypeId, name, settings.pointer);