SendMessageConfiguration.fromJson constructor

SendMessageConfiguration.fromJson(
  1. Map json_
)

Implementation

SendMessageConfiguration.fromJson(core.Map json_)
  : this(
      acceptedOutputModes: (json_['acceptedOutputModes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      blocking: json_['blocking'] as core.bool?,
      historyLength: json_['historyLength'] as core.int?,
      pushNotification: json_.containsKey('pushNotification')
          ? PushNotificationConfig.fromJson(
              json_['pushNotification']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );