Source
Future<RtcSessionDescription> createAnswer([Map mediaConstraints]) { var completer = new Completer<RtcSessionDescription>(); _createAnswer((value) { completer.complete(value); }, (error) { completer.completeError(error); }, mediaConstraints); return completer.future; }