GetAllUser static method
Implementation
static Future<UserInfoList> GetAllUser() async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = AdminManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
Empty empty = Empty();
UserInfoList userInfoList = await stub.getAllUser(empty);
print('GetAllUser: ${userInfoList}');
channel.shutdown();
return userInfoList;
}