mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 06:48:26 +00:00
Migrate form_app to null safety (#925)
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'sign_in_http.dart';
|
||||
@@ -12,8 +8,8 @@ part of 'sign_in_http.dart';
|
||||
|
||||
FormData _$FormDataFromJson(Map<String, dynamic> json) {
|
||||
return FormData(
|
||||
email: json['email'] as String,
|
||||
password: json['password'] as String,
|
||||
email: json['email'] as String?,
|
||||
password: json['password'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user