BatchUpdateFormResponse.fromJson constructor

BatchUpdateFormResponse.fromJson(
  1. Map json_
)

Implementation

BatchUpdateFormResponse.fromJson(core.Map json_)
    : this(
        form: json_.containsKey('form')
            ? Form.fromJson(
                json_['form'] as core.Map<core.String, core.dynamic>)
            : null,
        replies: json_.containsKey('replies')
            ? (json_['replies'] as core.List)
                .map((value) => Response.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        writeControl: json_.containsKey('writeControl')
            ? WriteControl.fromJson(
                json_['writeControl'] as core.Map<core.String, core.dynamic>)
            : null,
      );