toJson method

String toJson({
  1. bool includeTableName = false,
})

Implementation

String toJson({bool includeTableName = false}) {
  StringBuffer sb = StringBuffer();
  bool isFirst = true;
  _fieldStructList.forEach((fd) {
    if (!isFirst) sb.write(", ");
    sb.write(fd.toJson(includeTableName: includeTableName));
    isFirst = false;
  });
  return sb.toString();
}