FormAction.fromJson constructor

FormAction.fromJson(
  1. Map json_
)

Implementation

FormAction.fromJson(core.Map json_)
    : this(
        actionMethodName: json_.containsKey('actionMethodName')
            ? json_['actionMethodName'] as core.String
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) => ActionParameter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );