addApplicationData method

void addApplicationData(
  1. String key,
  2. dynamic value
)

Add any application-specific value with a key to this protocol.

Implementation

void addApplicationData(String key, dynamic value) {
  applicationData ??= {};
  applicationData![key] = value;
}