entityOf method
Implementation
MessageEntity? entityOf(String? type) {
var i = indexOfEntity(type);
if (i >= 0) {
return (entities ?? captionEntities)![i];
} else {
return null;
}
}
MessageEntity? entityOf(String? type) {
var i = indexOfEntity(type);
if (i >= 0) {
return (entities ?? captionEntities)![i];
} else {
return null;
}
}