AppsSecretDeleteWhereOptions.fromJson constructor

AppsSecretDeleteWhereOptions.fromJson(
  1. Object? json
)

Implementation

factory AppsSecretDeleteWhereOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AppsSecretDeleteWhereOptions(
    expand: map['expand'] == null
        ? null
        : (map['expand'] as List<Object?>)
            .map((el) => (el as String))
            .toList(),
    name: (map['name'] as String),
    scope: SecretServiceResourceScope.fromJson(map['scope']),
  );
}