encode method Null safety
- KeyedArchive object
override
Implementation
@override
void encode(KeyedArchive object) {
super.encode(object);
if (name == null) {
throw ArgumentError("APILicense must have non-null values for: 'name'.");
}
object.encode("name", name);
object.encode("url", url);
}