createProfile method

Future<void> createProfile(
  1. String profileName
)

Creates a new profile, switching to it in the process

  • Complexity Rating: 1/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<void> createProfile(String profileName) async =>
    await obsWebSocket.sendRequest(
      Request('CreateProfile', requestData: {'profileName': profileName}),
    );