toJson method

Map<String, Object?> toJson()

The evidence projection of this reference.

Implementation

Map<String, Object?> toJson() => {
  'kind': kind.name,
  if (path != null) 'path': path,
};