toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (newIndex != null) 'newIndex': newIndex!,
  if (newRule != null) 'newRule': newRule!,
  if (oldIndex != null) 'oldIndex': oldIndex!,
  if (oldRule != null) 'oldRule': oldRule!,
};