toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FontScript.automatic:
      return 'AUTOMATIC';
    case FontScript.hans:
      return 'HANS';
    case FontScript.hant:
      return 'HANT';
  }
}