Map<String, dynamic> toJson() => { "tenants": tenants == null ? null : List<dynamic>.from(tenants!.map((x) => x.toJson())), };