Interaction.fromJson constructor

Interaction.fromJson(
  1. Map json_
)

Implementation

Interaction.fromJson(core.Map json_)
    : this(
        interactionTime: json_.containsKey('interactionTime')
            ? json_['interactionTime'] as core.String
            : null,
        principal: json_.containsKey('principal')
            ? Principal.fromJson(
                json_['principal'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );