toJson method
Implementation
Map<String, dynamic> toJson() {
final networkId = this.networkId;
final networkName = this.networkName;
final repInterval = this.repInterval;
return {
'networkId': networkId,
'networkName': networkName,
if (repInterval != null) 'repInterval': repInterval,
};
}