fromJson static method

SecretKeys fromJson(
  1. dynamic value
)

Returns a new SecretKeys instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static SecretKeys fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return SecretKeys(
    secrets: json[r'secrets'] is List
        ? (json[r'secrets'] as List).cast<String>()
        : null,
  );
}