toJson method

dynamic toJson()

toJson method

Implementation

toJson() => {
      'type': type,
      'operations': operations?.map((e) => e.toJson()),
    };