EntryPoint.fromJson constructor

EntryPoint.fromJson(
  1. Map json_
)

Implementation

EntryPoint.fromJson(core.Map json_)
    : this(
        addOn: json_.containsKey('addOn')
            ? GoogleAppsScriptTypeAddOnEntryPoint.fromJson(
                json_['addOn'] as core.Map<core.String, core.dynamic>)
            : null,
        entryPointType: json_.containsKey('entryPointType')
            ? json_['entryPointType'] as core.String
            : null,
        executionApi: json_.containsKey('executionApi')
            ? GoogleAppsScriptTypeExecutionApiEntryPoint.fromJson(
                json_['executionApi'] as core.Map<core.String, core.dynamic>)
            : null,
        webApp: json_.containsKey('webApp')
            ? GoogleAppsScriptTypeWebAppEntryPoint.fromJson(
                json_['webApp'] as core.Map<core.String, core.dynamic>)
            : null,
      );