GenericInsight.fromJson constructor

GenericInsight.fromJson(
  1. Map json_
)

Implementation

GenericInsight.fromJson(core.Map json_)
    : this(
        additionalInformation: json_.containsKey('additionalInformation')
            ? (json_['additionalInformation'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        defaultMessage: json_.containsKey('defaultMessage')
            ? json_['defaultMessage'] as core.String
            : null,
        messageId: json_.containsKey('messageId')
            ? json_['messageId'] as core.String
            : null,
      );