toJson method

  1. @override
  2. @mustCallSuper
Map<String, dynamic> toJson()
override

Returns a JSON representation of this object.

Implementation

@override
@mustCallSuper
Map<String, dynamic> toJson() => {'version': version};