isScriptCode method

bool isScriptCode(
  1. String scriptCode
)

Returns true if the current locale matches the given script code.

Implementation

bool isScriptCode(String scriptCode) => this.scriptCode == scriptCode;