//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.repository/SegmentRepository/getByKey
getByKey
[jvm]
abstract suspend fun getByKey(key: String, languageId: Int): SegmentModel?
Get a segment by its key.
Return
SegmentModel or null if no such segment exists
Parameters
jvm
key | Message key |
languageId | Language ID |