toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final contextKeyName = this.contextKeyName;
  final contextKeyType = this.contextKeyType;
  final contextKeyValues = this.contextKeyValues;
  return {
    if (contextKeyName != null) 'ContextKeyName': contextKeyName,
    if (contextKeyType != null) 'ContextKeyType': contextKeyType.toValue(),
    if (contextKeyValues != null) 'ContextKeyValues': contextKeyValues,
  };
}