Updated json_god
This commit is contained in:
parent
6092d028b5
commit
cf208bf673
4 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,6 @@
|
|||
# 4.0.3
|
||||
* Fixed static analysis errors
|
||||
|
||||
# 4.0.2
|
||||
* Updated pubspec description
|
||||
* Fixed static analysis errors
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# angel3_json_god
|
||||
[![version](https://img.shields.io/badge/pub-v4.0.2-brightgreen)](https://pub.dartlang.org/packages/angel3_json_god)
|
||||
[![version](https://img.shields.io/badge/pub-v4.0.3-brightgreen)](https://pub.dartlang.org/packages/angel3_json_god)
|
||||
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
|
||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||
|
||||
|
|
|
@ -7,19 +7,19 @@ class JsonValidationError implements Exception {
|
|||
final String cause;
|
||||
|
||||
const JsonValidationError(
|
||||
String this.cause, this.invalidData); //, Schema this.schema);
|
||||
this.cause, this.invalidData); //, Schema this.schema);
|
||||
}
|
||||
|
||||
/// Specifies a schema to validate a class with.
|
||||
class WithSchema {
|
||||
final Map schema;
|
||||
|
||||
const WithSchema(Map this.schema);
|
||||
const WithSchema(this.schema);
|
||||
}
|
||||
|
||||
/// Specifies a schema to validate a class with.
|
||||
class WithSchemaUrl {
|
||||
final String schemaUrl;
|
||||
|
||||
const WithSchemaUrl(String this.schemaUrl);
|
||||
const WithSchemaUrl(this.schemaUrl);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel3_json_god
|
||||
version: 4.0.2
|
||||
version: 4.0.3
|
||||
description: Easy JSON to Object serialization and deserialization in Dart.
|
||||
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/json_god
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue