SetupAction.fromJson constructor

SetupAction.fromJson(
  1. Map json_
)

Implementation

SetupAction.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? UserFacingMessage.fromJson(
                json_['description'] as core.Map<core.String, core.dynamic>)
            : null,
        launchApp: json_.containsKey('launchApp')
            ? LaunchAppAction.fromJson(
                json_['launchApp'] as core.Map<core.String, core.dynamic>)
            : null,
        title: json_.containsKey('title')
            ? UserFacingMessage.fromJson(
                json_['title'] as core.Map<core.String, core.dynamic>)
            : null,
      );