substitution library Null safety

Properties

add ↔ dynamic Function(dynamic feature, dynamic sub, dynamic script, dynamic language)
read / write
addAlternate Null Function(dynamic feature, dynamic substitution, dynamic script, dynamic language)
read / write
addLigature Null Function(dynamic feature, dynamic ligature, dynamic script, dynamic language)
read / write
addMultiple Null Function(dynamic feature, dynamic substitution, dynamic script, dynamic language)
read / write
addSingle Null Function(dynamic feature, dynamic substitution, dynamic script, dynamic language)
read / write
createDefaultTable Map<dynamic, Object> Function()
read / write
default ↔ dynamic
read / write
from ↔ dynamic
read / write
getAlternates List Function(dynamic feature, dynamic script, dynamic language)
read / write
getFeature ↔ dynamic Function(dynamic feature, dynamic script, dynamic language)
read / write
getLigatures List Function(dynamic feature, dynamic script, dynamic language)
read / write
getMultiple List Function(dynamic feature, dynamic script, dynamic language)
read / write
getSingle List Function(dynamic feature, dynamic script, dynamic language)
read / write
prototype ↔ dynamic
read / write
Substitution ↔ dynamic
read / write

Functions

arraysEqual(dynamic ar1, dynamic ar2) → dynamic
getSubstFormat(dynamic lookupTable, dynamic format, dynamic defaultSubtable) → dynamic
prototype() → dynamic
Substitution() → dynamic
Add a substitution to a feature for a given script and language. @param {string} feature - 4-letter feature name @param {Object} sub - the substitution to add (an object like { sub: id or ids, by: id or ids }) @param {string} script='DFLT' @param {string} language='dflt'