toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultGateway != null) 'defaultGateway': defaultGateway!,
      if (id != null) 'id': id!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (network != null) 'network': network!,
      if (networkType != null) 'networkType': networkType!,
    };