toJson method

Map<String, Object?> toJson()

Encodes this value as a JSON object.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'path': path,
  'found': found,
  if (value != null) 'value': _wireJson(value!, r'$.value'),
  if (miss != null) 'miss': miss!.toJson(),
};