TransformOperation.fromJson constructor

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

Implementation

factory TransformOperation.fromJson(Map<String, dynamic> json) {
  return TransformOperation(
    castColumnTypeOperation: json['CastColumnTypeOperation'] != null
        ? CastColumnTypeOperation.fromJson(
            json['CastColumnTypeOperation'] as Map<String, dynamic>)
        : null,
    createColumnsOperation: json['CreateColumnsOperation'] != null
        ? CreateColumnsOperation.fromJson(
            json['CreateColumnsOperation'] as Map<String, dynamic>)
        : null,
    filterOperation: json['FilterOperation'] != null
        ? FilterOperation.fromJson(
            json['FilterOperation'] as Map<String, dynamic>)
        : null,
    projectOperation: json['ProjectOperation'] != null
        ? ProjectOperation.fromJson(
            json['ProjectOperation'] as Map<String, dynamic>)
        : null,
    renameColumnOperation: json['RenameColumnOperation'] != null
        ? RenameColumnOperation.fromJson(
            json['RenameColumnOperation'] as Map<String, dynamic>)
        : null,
    tagColumnOperation: json['TagColumnOperation'] != null
        ? TagColumnOperation.fromJson(
            json['TagColumnOperation'] as Map<String, dynamic>)
        : null,
  );
}