factory KeyUsage.fromJson(Map<String, dynamic> json) { return KeyUsage( name: (json['Name'] as String?)?.toKeyUsageName(), ); }