CreateColumnsOperation.fromJson constructor

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

Implementation

factory CreateColumnsOperation.fromJson(Map<String, dynamic> json) {
  return CreateColumnsOperation(
    columns: (json['Columns'] as List)
        .whereNotNull()
        .map((e) => CalculatedColumn.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}