CompletionItem.fromMap constructor
Implementation
CompletionItem.fromMap(Map<String, Object?> obj)
: detail = obj['detail'] as String?,
label = obj['label'] as String,
length = obj['length'] as int?,
selectionLength = obj['selectionLength'] as int?,
selectionStart = obj['selectionStart'] as int?,
sortText = obj['sortText'] as String?,
start = obj['start'] as int?,
text = obj['text'] as String?,
type = obj['type'] as CompletionItemType?;