LfA2aV1SendMessageConfiguration.fromJson constructor

LfA2aV1SendMessageConfiguration.fromJson(
  1. Map json_
)

Implementation

LfA2aV1SendMessageConfiguration.fromJson(core.Map json_)
  : this(
      acceptedOutputModes: (json_['acceptedOutputModes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      historyLength: json_['historyLength'] as core.int?,
      returnImmediately: json_['returnImmediately'] as core.bool?,
      taskPushNotificationConfig:
          json_.containsKey('taskPushNotificationConfig')
          ? LfA2aV1TaskPushNotificationConfig.fromJson(
              json_['taskPushNotificationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );