toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (condition != null) 'condition': condition,
      if (hitCondition != null) 'hitCondition': hitCondition,
      'instructionReference': instructionReference,
      if (mode != null) 'mode': mode,
      if (offset != null) 'offset': offset,
    };