toFutureString method

  1. @override
Future<String> toFutureString()

Implementation

@override
Future<String> toFutureString() async {
  return 'BusEntrance{name: ${await name}, location: ${await location}';
}