SelfSubjectRulesReviewSpec.fromJson constructor

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

Creates a SelfSubjectRulesReviewSpec from JSON data.

Implementation

factory SelfSubjectRulesReviewSpec.fromJson(Map<String, dynamic> json) {
  final tempNamespaceJson = json['namespace'];

  final String? tempNamespace = tempNamespaceJson;

  return SelfSubjectRulesReviewSpec(
    namespace: tempNamespace,
  );
}