ExprIfThenElse.fromProto constructor

ExprIfThenElse.fromProto(
  1. ExprIfThenElse proto
)

Implementation

factory ExprIfThenElse.fromProto(pb.ExprIfThenElse proto) {
  return ExprIfThenElse(
    cond: Expr.fromProto(proto.cond),
    then: Expr.fromProto(proto.then),
    otherwise: Expr.fromProto(proto.otherwise),
  );
}