Jonny Borges
Committed by GitHub

Merge pull request #1169 from eduardoflorence/ns-effective_dart

Return with effective_dart and fix typos
1 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
2 import 'package:get/get.dart'; 2 import 'package:get/get.dart';
3 3
4 -import 'en_US.dart';  
5 -import 'pt_BR.dart'; 4 +import 'en_us.dart';
  5 +import 'pt_br.dart';
6 6
7 class TranslationService extends Translations { 7 class TranslationService extends Translations {
8 static Locale get locale => Get.deviceLocale!; 8 static Locale get locale => Get.deviceLocale!;
1 -import 'dart:ui';  
2 -  
3 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
4 import 'package:get/get.dart'; 2 import 'package:get/get.dart';
5 import 'lang/translation_service.dart'; 3 import 'lang/translation_service.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:html' as html; 2 import 'dart:html' as html;
3 -import 'dart:typed_data';  
4 3
5 import '../../certificates/certificates.dart'; 4 import '../../certificates/certificates.dart';
6 import '../../exceptions/exceptions.dart'; 5 import '../../exceptions/exceptions.dart';
@@ -107,7 +107,7 @@ class FormData { @@ -107,7 +107,7 @@ class FormData {
107 for (final file in files) { 107 for (final file in files) {
108 yield separator; 108 yield separator;
109 yield utf8.encode(_fileHeader(file)); 109 yield utf8.encode(_fileHeader(file));
110 - yield* file.value.stream! as Stream<List<int>>; 110 + yield* file.value.stream!;
111 yield line; 111 yield line;
112 } 112 }
113 yield close; 113 yield close;
1 -import 'dart:async';  
2 import 'dart:convert'; 1 import 'dart:convert';
3 -import '../request/request.dart';  
4 2
5 bool isTokenChar(int byte) { 3 bool isTokenChar(int byte) {
6 return byte > 31 && byte < 128 && !SEPARATOR_MAP[byte]; 4 return byte > 31 && byte < 128 && !SEPARATOR_MAP[byte];
@@ -13,6 +13,7 @@ dependencies: @@ -13,6 +13,7 @@ dependencies:
13 dev_dependencies: 13 dev_dependencies:
14 flutter_test: 14 flutter_test:
15 sdk: flutter 15 sdk: flutter
  16 + effective_dart: ^1.3.1
16 17
17 18
18 # For information on the generic Dart part of this file, see the 19 # For information on the generic Dart part of this file, see the