NamespaceSpec.fromJson constructor
Creates a NamespaceSpec from JSON data.
Implementation
factory NamespaceSpec.fromJson(Map<String, dynamic> json) {
final tempFinalizersJson = json['finalizers'];
final List<String>? tempFinalizers = tempFinalizersJson != null
? List<String>.from(tempFinalizersJson)
: null;
return NamespaceSpec(
finalizers: tempFinalizers,
);
}