toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (interactionType != null) 'interactionType': interactionType!,
      if (responseToken != null) 'responseToken': responseToken!,
      if (subtype != null) 'subtype': subtype!,
      if (type != null) 'type': type!,
    };