toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (icon != null) {
    json[r'icon'] = icon;
  }
  if (title != null) {
    json[r'title'] = title;
  }
  if (columns != null) {
    json[r'columns'] = columns;
  }
  json[r'formColumns'] = formColumns;
  return json;
}