createFirm method
ResponseFuture<CreateFirmResponse>
createFirm(
- CreateFirmRequest request, {
- CallOptions? options,
/ only one firm per 'company' / 1. user signup and get a userId & create firm permission / 2. A. user create a firm / Chain and Boutique will be created by default and will use the same firmId / Since createFirm also updates user permission, clientApp needs to reauthent using refresh right after / 2. B. user joins a firm is a different use case detailed in createPendingUser rpc
Implementation
$grpc.ResponseFuture<$10.CreateFirmResponse> createFirm($10.CreateFirmRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$createFirm, request, options: options);
}