toProfile method

Profile toProfile()

Implementation

Profile toProfile() {
  switch (this) {
    case 'NONE':
      return Profile.none;
    case 'HBBTV_1_5':
      return Profile.hbbtv_1_5;
  }
  throw Exception('$this is not known in enum Profile');
}