FormTableColumn.fromJson constructor

FormTableColumn.fromJson(
  1. Map<String, dynamic> json
)

Create from JSON.

Implementation

factory FormTableColumn.fromJson(Map<String, dynamic> json) {
  return FormTableColumn(
    id: json['id'] as String,
    title: json['title'] as String,
    type: json['type'] as String,
    width: (json['width'] as num?)?.toDouble(),
    alignment: json['alignment'] as String?,
  );
}