toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (degradedBlockCount != null) 'degradedBlockCount': degradedBlockCount!,
if (healthStatus != null) 'healthStatus': healthStatus!,
if (healthyBlockCount != null) 'healthyBlockCount': healthyBlockCount!,
};