EventCondition.fromJson constructor

EventCondition.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EventCondition.fromJson(Map<String, dynamic> json) {
  return EventCondition(
    dimensions: json['Dimensions'] != null
        ? EventDimensions.fromJson(json['Dimensions'] as Map<String, dynamic>)
        : null,
    messageActivity: json['MessageActivity'] as String?,
  );
}