1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-13 10:27:09 +00:00

Update mockito in form_app (#904)

This commit is contained in:
John Ryan
2021-10-05 04:49:11 -07:00
committed by GitHub
parent 3de664f9e7
commit 9a9f0210b7
6 changed files with 77 additions and 23 deletions

View File

@@ -4,8 +4,8 @@
import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:json_annotation/json_annotation.dart';
part 'sign_in_http.g.dart';
@@ -86,7 +86,7 @@ class _SignInHttpDemoState extends State<SignInHttpDemo> {
headers: {'content-type': 'application/json'});
if (result.statusCode == 200) {
_showDialog('Succesfully signed in.');
_showDialog('Successfully signed in.');
} else if (result.statusCode == 401) {
_showDialog('Unable to sign in.');
} else {