RequestAuthentication.fromJson constructor
Creates a RequestAuthentication from JSON data.
Implementation
RequestAuthentication.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
? RequestAuthenticationSpec.fromJson(json['spec'])
: null,
status: json['status'] != null
? RequestAuthenticationStatus.fromJson(json['status'])
: null,
);