Remove static methods that arent overridable
This commit is contained in:
parent
ad7da43a39
commit
a1f0173c92
2 changed files with 1 additions and 11 deletions
|
@ -8,14 +8,4 @@ abstract class IJsonSerializable {
|
|||
|
||||
/// Returns a Json Object
|
||||
Map<String,dynamic> toJson();
|
||||
|
||||
/// Decodes json and returns the instance
|
||||
static IJsonSerializable fromJson(String js) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
/// Decodes json object
|
||||
static IJsonSerializable decode(Map<String,dynamic> js) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue