LiveStateField constructor

const LiveStateField({
  1. required String name,
  2. required String type,
  3. Object? value,
  4. int? count,
  5. bool truncated = false,
  6. String? unread,
})

Creates a LiveStateField named name of type type.

Implementation

const LiveStateField({
  required this.name,
  required this.type,
  this.value,
  this.count,
  this.truncated = false,
  this.unread,
});