toAntiAlias method

AntiAlias toAntiAlias()

Implementation

AntiAlias toAntiAlias() {
  switch (this) {
    case 'DISABLED':
      return AntiAlias.disabled;
    case 'ENABLED':
      return AntiAlias.enabled;
  }
  throw Exception('$this is not known in enum AntiAlias');
}