transfer static method
Implementation
static Future<dynamic> transfer({int? amount, String note = ""}) async {
final args = {'amount': amount, 'note': note};
final rs = await _channel.invokeMethod('transfer', args);
if (Platform.isAndroid && rs is String) {
return jsonDecode(rs);
}
return rs;
}