liveness method

Future<LivenessResult> liveness(
  1. {dynamic language = 'zh'}
)

Implementation

Future<LivenessResult> liveness({language = 'zh'}) async {
  var arguments = Map();
  arguments['language'] = language;
  final Map<dynamic, dynamic> map =
  await _channel.invokeMethod('liveness', arguments);
  return map != null ? new LivenessResult.fromMap(map) : null;
}