Result constructor

Result({
  1. required bool isValid,
  2. String? expected,
  3. dynamic value,
})

Implementation

Result({required this.isValid, this.expected, this.value});