OnClick.fromJson constructor

OnClick.fromJson(
  1. Map json_
)

Implementation

OnClick.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? FormAction.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        openLink: json_.containsKey('openLink')
            ? OpenLink.fromJson(
                json_['openLink'] as core.Map<core.String, core.dynamic>)
            : null,
      );