toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final resources = this.resources;
  final actionType = this.actionType;
  return {
    'resources': resources,
    if (actionType != null) 'actionType': actionType.toValue(),
  };
}