toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'enabled': enabled,
'healthyThreshold': healthyThreshold,
'interval': interval,
'matcher': matcher,
'path': path,
'port': port,
'protocol': protocol,
'timeout': timeout,
'unhealthyThreshold': unhealthyThreshold,
};
}