toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (nullValue case final $1?) 'nullValue': $1.toJson(),
  if (numberValue case final $1?) 'numberValue': encodeDouble($1),
  'stringValue': ?stringValue,
  'boolValue': ?boolValue,
  'jsonPath': jsonPath,
  if (willContinue.isNotDefault) 'willContinue': willContinue,
};