CreateItemResponse.fromJson constructor

CreateItemResponse.fromJson(
  1. Map json_
)

Implementation

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