toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (channel != null) "channel": encodeValue(channel),
      if (chimeId != null) "chime_id": encodeValue(chimeId),
    };