test method

Future<Map<String, dynamic>> test ()

Implementation

static Future<Map<String,dynamic>> test( ) async {
  try {
    final String result = await _channel.invokeMethod('test');
    return { "success" : (result=="1"), "message" : result };
  } on PlatformException catch (e) {
    return { "success" : false, "messge" : e.message };
  }
}