toJson method

String toJson()

Implementation

String toJson() => switch (this) {
      auto => 'AUTO',
      any => 'ANY',
      none => 'NONE',
    };