Action constructor

const Action({
  1. required String method,
  2. required String paramsJson,
  3. bool? optional = false,
})

Implementation

const Action({
  required this.method,
  required this.paramsJson,
  this.optional = false,
});