Map<String, dynamic> toMap() { return <String, dynamic>{ 'network': network, 'nicType': nicType, 'subnet': subnet, }; }