Delete login page and add function for http requet
This commit is contained in:
12
motula_translate_app/lib/model/word.dart
Normal file
12
motula_translate_app/lib/model/word.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class Word {
|
||||
bool status;
|
||||
String name;
|
||||
String translation;
|
||||
|
||||
Word.fromJson(Map<String, dynamic> json):
|
||||
status = json['status'],
|
||||
name = json['name'],
|
||||
translation = json['translation'];
|
||||
}
|
||||
Reference in New Issue
Block a user