SecretInfo.fromJson constructor

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

Implementation

factory SecretInfo.fromJson(Map<String, dynamic> json) {
  return SecretInfo(
    id: json['id'] as String,
    type: json['type'] as String,
    name: json['name'] as String,
    delegatedTo: json['delegated_to'] as String?,
  );
}