EventData.fromJson constructor

EventData.fromJson(
  1. Map json_
)

Implementation

EventData.fromJson(core.Map json_)
    : this(
        eventAction: json_.containsKey('eventAction')
            ? json_['eventAction'] as core.String
            : null,
        eventCategory: json_.containsKey('eventCategory')
            ? json_['eventCategory'] as core.String
            : null,
        eventCount: json_.containsKey('eventCount')
            ? json_['eventCount'] as core.String
            : null,
        eventLabel: json_.containsKey('eventLabel')
            ? json_['eventLabel'] as core.String
            : null,
        eventValue: json_.containsKey('eventValue')
            ? json_['eventValue'] as core.String
            : null,
      );