ManagedSecret.fromJson constructor

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

Implementation

factory ManagedSecret.fromJson(Map<String, dynamic> json) => ManagedSecret(
  id: json['id'] as String,
  type: json['type'] as String,
  name: json['name'] as String,
  delegatedTo: json['delegated_to'] as String? ?? json['delegatedTo'] as String?,
  dataBase64: json['data_base64'] as String? ?? json['dataBase64'] as String,
);