EnvoyFilter.fromJson constructor
Creates a EnvoyFilter from JSON data.
Implementation
EnvoyFilter.fromJson(Map<String, dynamic> json)
: this(
apiVersion: json['apiVersion'],
kind: json['kind'],
metadata: json['metadata'] != null
? ObjectMeta.fromJson(json['metadata'])
: null,
spec: json['spec'] != null
? EnvoyFilterSpec.fromJson(json['spec'])
: null,
status: json['status'] != null
? EnvoyFilterStatus.fromJson(json['status'])
: null,
);