toJson method

Map<String, dynamic> toJson()

Implementation

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