toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (host != null) 'host': host!,
      if (memcacheFullVersion != null)
        'memcacheFullVersion': memcacheFullVersion!,
      if (memcacheVersion != null) 'memcacheVersion': memcacheVersion!,
      if (nodeId != null) 'nodeId': nodeId!,
      if (parameters != null) 'parameters': parameters!,
      if (port != null) 'port': port!,
      if (state != null) 'state': state!,
      if (zone != null) 'zone': zone!,
    };