GoogleAppsScriptTypeFunction.fromJson constructor

GoogleAppsScriptTypeFunction.fromJson(
  1. Map json_
)

Implementation

GoogleAppsScriptTypeFunction.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );