isEmpty property
bool
get
isEmpty
Whether this message is the empty stream-completion sentinel.
Implementation
bool get isEmpty =>
role == null && contents.isEmpty && toolCalls.isEmpty && channels.isEmpty;