Form.fromJson constructor

Form.fromJson(
  1. Map json_
)

Implementation

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