SecretValue.fromJson constructor
Implementation
factory SecretValue.fromJson(Map<String, dynamic> json) {
final extraKeys = json.keys.where((key) => key != 'id').toList();
if (extraKeys.isNotEmpty) {
throw FormatException('unsupported SecretValue fields: ${extraKeys.join(', ')}');
}
return SecretValue(id: json['id'] as String);
}