ReportColumn.fromJson constructor
Restores a report column from VPS-compatible JSON.
Implementation
factory ReportColumn.fromJson(Map<String, dynamic> json) => ReportColumn(
title: json['title'] ?? 'Spalte',
field: json['field'] ?? '',
flex: (json['flex'] ?? 1).toDouble(),
format: ColumnFormat.values.byName(json['format'] ?? 'text'),
alignRight: json['alignRight'] ?? false,
);