josa 1.0.0
josa: ^1.0.0 copied to clipboard
Korean josa (particle) library for Dart and Flutter. Attaches the right form of a particle, such as 을/를 or 이/가, from the last syllable of a word.
import 'package:josa/josa.dart';
void main() {
print(Josa.of('을/를').of('간장')); // 간장을
print(Josa.of('을/를').of('시계')); // 시계를
print(Josa.of('은/는').of('사과')); // 사과는
print(Josa.of('으로/로').of('건물')); // 건물로
// Only the particle, without the word.
print(Josa.of('이/가', withValue: false).of('나무')); // 가
}