CaseWhen<T extends Object, R extends Object> constructor

const CaseWhen<T extends Object, R extends Object>(
  1. Expression<T> when,
  2. {required Expression<R> then}
)

Creates a single case with expression for when and expression for then.

Implementation

const CaseWhen(this.when, {required this.then});