bool isMilliseconds(String code) => <String>[ 'milliseconds', 'millisecond', "'millisecond'", 'ms', ].contains(code);