toJson method Null safety

Map<String, dynamic> toJson()

Creates a json map from a Input

Implementation

Map<String, dynamic> toJson() => _$InputToJson(this);