toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      _JsonFields.type: type,
      _JsonFields.context: context,
      _JsonFields.code: code,
      _JsonFields.trackedClass: trackedClass,
    };