typeWord method Null safety

Future<void> typeWord(
  1. String word,
  2. {int interval = 0}
)

Type a sentence , int interval is by default 0

Implementation

static Future<void> typeWord(
  String word, {
  int interval = 0,
}) async {
  await Process.run('python3', [
    kPath,
    'type_word',
    word,
    interval.toString(),
  ]);
}