Op constructor

const Op({
  1. required String type,
  2. required dynamic data,
})

Implementation

const Op({required this.type, required this.data});