@override Map<String, Object?> toJson() => { "name": encodeValue(name), if (address != null) "address": encodeValue(address), };