for get location details
@override Future<Map<dynamic, dynamic>?> getLocation() async { final version = await methodChannel.invokeMethod<Map<dynamic, dynamic>>('getLocation'); return version; }