override dates
This commit is contained in:
parent
cff49aa94a
commit
8b71a2603d
3 changed files with 5 additions and 3 deletions
|
@ -165,8 +165,10 @@ class $name extends Model {
|
||||||
@override
|
@override
|
||||||
String id;
|
String id;
|
||||||
String name, desc;
|
String name, desc;
|
||||||
|
@override
|
||||||
|
DateTime createdAt, updatedAt;
|
||||||
|
|
||||||
$name({this.id, this.name, this.desc});
|
$name({this.id, this.name, this.desc, this.createdAt, this.updatedAt});
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
.trim());
|
.trim());
|
||||||
|
|
|
@ -3,7 +3,7 @@ import 'dart:convert';
|
||||||
import 'package:http/src/base_client.dart' as http;
|
import 'package:http/src/base_client.dart' as http;
|
||||||
import 'package:pub_semver/pub_semver.dart';
|
import 'package:pub_semver/pub_semver.dart';
|
||||||
|
|
||||||
final Version PACKAGE_VERSION = new Version(1, 0, 9);
|
final Version PACKAGE_VERSION = new Version(1, 0, 10);
|
||||||
Future<Version> fetchCurrentVersion(http.BaseClient client) async {
|
Future<Version> fetchCurrentVersion(http.BaseClient client) async {
|
||||||
var response =
|
var response =
|
||||||
await client.get('https://pub.dartlang.org/api/packages/angel_cli');
|
await client.get('https://pub.dartlang.org/api/packages/angel_cli');
|
||||||
|
|
|
@ -2,7 +2,7 @@ author: "Tobe O <thosakwe@gmail.com>"
|
||||||
description: "Command-line tools for the Angel framework."
|
description: "Command-line tools for the Angel framework."
|
||||||
homepage: "https://github.com/angel-dart/angel_cli"
|
homepage: "https://github.com/angel-dart/angel_cli"
|
||||||
name: "angel_cli"
|
name: "angel_cli"
|
||||||
version: "1.0.9"
|
version: 1.0.10
|
||||||
dependencies:
|
dependencies:
|
||||||
# analyzer: "^0.29.0"
|
# analyzer: "^0.29.0"
|
||||||
args: "^0.13.7"
|
args: "^0.13.7"
|
||||||
|
|
Loading…
Reference in a new issue