toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'headerName': headerName,
    if (initialValue != null) 'initialValue': initialValue,
    if (activationValue != null) 'activationValue': activationValue,
  };
}