encode static method
Implementation
static Map<String, dynamic> encode(PermissionItem value) {
switch (value) {
case AlwaysPermissionItem entity:
Map<String, dynamic> entityJson = AlwaysPermissionItem.encode(entity);
entityJson["kotlinType"] = "AlwaysPermissionItemDto";
return entityJson;
default:
throw ArgumentError('Invalid subclass $value');
}
}