Skip to content

Commit

Permalink
Run 'dart format --fix .'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpryan committed Apr 16, 2021
1 parent dd51266 commit 4a90fa3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/codelabs/src/exceptions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ class CodelabFetchException implements Exception {
final String message;

const CodelabFetchException(this.failureType, [this.message]);
}
}
3 changes: 2 additions & 1 deletion lib/codelabs/src/fetcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ abstract class CodelabFetcher {
@required String repo,
String ref,
String path,
}) => GithubCodelabFetcher(owner: owner, repo: repo, path: path, ref: ref);
}) =>
GithubCodelabFetcher(owner: owner, repo: repo, path: path, ref: ref);
factory CodelabFetcher.webserver(Uri uri) => WebServerCodelabFetcher(uri);
}
1 change: 0 additions & 1 deletion lib/playground.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import 'util/detect_flutter.dart';
import 'util/keymap.dart';
import 'util/query_params.dart' show queryParams;


Playground get playground => _playground;

Playground _playground;
Expand Down
4 changes: 2 additions & 2 deletions lib/util/github.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ String extractGitHubResponseBody(String githubResponse) {
// characters ('\n') included.
final contentJson = json.decode(githubResponse);
final encodedContentStr =
contentJson['content'].toString().replaceAll('\n', '');
contentJson['content'].toString().replaceAll('\n', '');
return utf8.decode(base64.decode(encodedContentStr));
}
}
2 changes: 1 addition & 1 deletion web/example/codelabs/dart/step_01/solution.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
void main() {
print('Solution');
}
}

0 comments on commit 4a90fa3

Please sign in to comment.