feat: migrate to dart3

This commit is contained in:
Sangam Shrestha
2023-05-14 16:30:35 +05:45
parent 289c6cd7a9
commit a27dc6ad1c
10 changed files with 17 additions and 17 deletions

View File

@ -90,7 +90,7 @@ class GithubAPI {
final List<dynamic> commits = response.data;
return commits
.map(
(commit) => (commit['commit']['message']).split('\n')[0] +
(commit) => commit['commit']['message'].split('\n')[0] +
' - ' +
commit['commit']['author']['name'] +
'\n' as String,

View File

@ -1,5 +1,4 @@
import 'dart:async';
import 'dart:developer';
import 'dart:io';
import 'package:collection/collection.dart';