abstract class JsonSerializable { /// Convert [this] to json Map toJson(); /// Create [this] from json T fromJson(Map json); }