switchOrg static method

Future<Map<String, dynamic>> switchOrg(
  1. String orgNumber
)

Switch the current user's orgnization.

orgNumber The number of the orgnization.

@return Json data.

Implementation

static Future<Map<String, dynamic>> switchOrg(String orgNumber) {
  return K3Client.getInstance().operate(
    SwitchOrgParam(orgNumber: orgNumber)
  );
}