toJson method

List<Object?> toJson()

Implementation

List<Object?> toJson() {
  return [type, 'params', params, 'method', method];
}