toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiVersion != null) 'apiVersion': apiVersion!,
      if (items != null) 'items': items!,
      if (kind != null) 'kind': kind!,
      if (metadata != null) 'metadata': metadata!,
      if (unreachable != null) 'unreachable': unreachable!,
    };