flag method

int flag(
  1. AFThemeID id
)

Implementation

int flag(AFThemeID id) {
  final val = value(id);
  var result;
  if(val is int) {
    result = val;
  } else {
    _throwUnsupportedType(id, val);
  }
  return result;
}