toFutureString method

  1. @override
Future<String> toFutureString()

Implementation

@override
Future<String> toFutureString() async {
  return 'Road{id: ${await id}}, name: ${await name}, distance: ${await distance}, direction: ${await direction}, coordinate: ${await coordinate}';
}