toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (block != null) 'block': block!,
  if (cluster != null) 'cluster': cluster!,
  if (host != null) 'host': host!,
  if (subblock != null) 'subblock': subblock!,
};