How we can get the state value from static method in flutter ? , i have one state called phone and need to use these state value in some static method.

```
String phone = '';

@override
void initState() {
    super.initState();
    getPhoneString();
} 

void getPhoneString() async
{
    // basiclly just get the value from sharef pref
    setState(() {
        phone = 'myhpone-string';
    });
}

static Future<Void> Process() async {
   // get phone state value

}

```