Map<String, dynamic> toJson() { final connections = this.connections; return { if (connections != null) 'Connections': connections, }; }