toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {if (output case final $1?) 'output': $1.toJson()};