UpdateUserMobile static method
Future<OperationResponse>
UpdateUserMobile(
- StringValue stringValue
)
Implementation
static Future<OperationResponse> UpdateUserMobile(
StringValue stringValue) async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = UserManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
OperationResponse operationResponse =
await stub.updateUserMobile(stringValue);
print('UpdateUserMobile: ${operationResponse}');
channel.shutdown();
return operationResponse;
}