apiValue property

String get apiValue

Implementation

String get apiValue {
  switch (this) {
    case Rating.y:
      return 'y';
    case Rating.g:
      return 'g';
    case Rating.pg:
      return 'pg';
    case Rating.pg13:
      return 'pg-13';
    case Rating.r:
      return 'r';
  }
}