fromString method

Include? fromString(
  1. String val
)

Implementation

Include? fromString(String val) {
  final override = {
    'all': Include.all,
    'participated': Include.participated,
  }[val];
// ignore: unnecessary_this
  return this.contains(override) ? override : null;
}