core.Map<core.String, core.dynamic> toJson() => { if (addressPools != null) 'addressPools': addressPools!, };