getAccountInfo static method

Future getAccountInfo()

Implementation

static Future<dynamic> getAccountInfo() async {
  final rs = await _channel.invokeMethod('getAccountInfo');
  if (Platform.isAndroid && rs is String) {
    return jsonDecode(rs);
  }
  return rs;
}