toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'name': name,
      'columns': [for (final c in columns) c.toJson()],
    };