SecretEnvSource.fromJson constructor
Creates a SecretEnvSource from JSON data.
Implementation
factory SecretEnvSource.fromJson(Map<String, dynamic> json) {
final tempNameJson = json['name'];
final tempOptionalJson = json['optional'];
final String? tempName = tempNameJson;
final bool? tempOptional = tempOptionalJson;
return SecretEnvSource(
name: tempName,
optional: tempOptional,
);
}