void locationUpdate(double lat, double lang) { obj['latitude'] = lat; obj['longitude'] = lang; sdk.callMethod('userLocation', [obj]); }