ContentRedaction.fromJson constructor

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

Implementation

factory ContentRedaction.fromJson(Map<String, dynamic> json) {
  return ContentRedaction(
    redactionOutput: (json['RedactionOutput'] as String).toRedactionOutput(),
    redactionType: (json['RedactionType'] as String).toRedactionType(),
  );
}