Future<Intent> getIntent() async { var map = await channel.invokeMethod<Map>(_GET_INTENT, null); return Intent.fromMap(map); }