@override Future<Map<String, String>> getAttributes() async { final Map<dynamic, dynamic> result = await methodChannel.invokeMethod('getAttributes'); return result.cast<String, String>(); }