start method
Future<SpaceDTO?>
start({})
Implementation
Future<SpaceDTO?> start({
String? accountAddress,
Signer? signer,
required String spaceId,
String? livepeerApiKey,
required dynamic Function(ProgressHookType) progressHook,
}) async {
if (livepeerApiKey != null) {
setLivePeerKey(livepeerApiKey);
}
final result = await start_(
accountAddress: accountAddress,
signer: signer,
spaceId: spaceId,
progressHook: progressHook,
updateRoom: _updateLocalUserRoom,
);
log('start: result= $result');
if (result != null) {
data = result;
notifyListeners();
log('start: result=liveSpaceData ${result.liveSpaceData.toJson()}');
}
return result;
}