callOptions method
Implementation
Future<CallOptions> callOptions() async{
final md = <String, String>{'x-client': Platform.operatingSystem};
final token = await tokenProvider?.call();
if(token !=null && token.isNotEmpty){
md['authorization'] = 'Bearer $token';
}
return CallOptions(metadata: md,timeout: const Duration(seconds: 20));
}