generateClientSource method

String generateClientSource()

Generates Dart code for a client to access the given D-Bus interface.

Implementation

String generateClientSource() {
  var source = '';

  source += _generateHeader();
  source += "import 'package:dbus/dbus.dart';\n";
  source += '\n';
  source += _generateRemoteObjectClass();

  return source;
}