toJson method

dynamic toJson()

Implementation

dynamic toJson() {
  if (asListString != null) return asListString;
  if (asBool != null) return asBool;
  return null;
}