toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  'parent': parent,
  'suggestionCount': suggestionCount,
  'clientId': clientId,
  if (contexts.isNotDefault)
    'contexts': [for (final i in contexts) i.toJson()],
};