Skip to main content

updateUserAdminOrg method

Future updateUserAdminOrg (List<OrgInfo> orgDetails)

<p>This function is used to update the organization admin.</p> <p>params:</p> <ul> <li><code>orgDetails</code> : details of the organization.</li> </ul>

Implementation

Future updateUserAdminOrg(List\<OrgInfo\> orgDetails) async \{
_currentUser!.updateAdminFor(orgDetails);
saveUserInHive();
\}