Secret.fromJson constructor

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

Implementation

factory Secret.fromJson(Map<String, dynamic> json) {
  return Secret(
    name: json['name'] as String,
    valueFrom: json['valueFrom'] as String,
  );
}