Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Created April 6, 2019 15:50
Show Gist options
  • Select an option

  • Save angelabauer/c19c42b7795a185d2113f3b47263d2c0 to your computer and use it in GitHub Desktop.

Select an option

Save angelabauer/c19c42b7795a185d2113f3b47263d2c0 to your computer and use it in GitHub Desktop.

Revisions

  1. angelabauer created this gist Apr 6, 2019.
    26 changes: 26 additions & 0 deletions scratch.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    import 'dart:io';

    void main() {
    performTasks();
    }

    void performTasks() {
    task1();
    task2();
    task3();
    }

    void task1() {
    String result = 'task 1 data';
    print('Task 1 complete');
    }

    void task2() {
    String result = 'task 2 data';
    print('Task 2 complete');
    }

    void task3() {
    String result = 'task 3 data';
    print('Task 3 complete');
    }